version 1.95, 2009/07/27 12:35:54 |
version 1.96, 2009/07/27 13:10:08 |
Line 391 do_special(struct termp *p, const char *word, size_t l |
|
Line 391 do_special(struct termp *p, const char *word, size_t l |
|
|
|
rhs = term_a2ascii(p->symtab, word, len, &sz); |
rhs = term_a2ascii(p->symtab, word, len, &sz); |
|
|
if (NULL == rhs) |
if (NULL == rhs) { |
|
#if 1 |
|
fputs("Unknown special character: ", stderr); |
|
for (i = 0; i < (int)len; i++) |
|
fputc(word[i], stderr); |
|
fputc('\n', stderr); |
|
#endif |
return; |
return; |
|
} |
for (i = 0; i < (int)sz; i++) |
for (i = 0; i < (int)sz; i++) |
encode(p, rhs[i]); |
encode(p, rhs[i]); |
} |
} |
Line 407 do_reserved(struct termp *p, const char *word, size_t |
|
Line 414 do_reserved(struct termp *p, const char *word, size_t |
|
|
|
rhs = term_a2res(p->symtab, word, len, &sz); |
rhs = term_a2res(p->symtab, word, len, &sz); |
|
|
if (NULL == rhs) |
if (NULL == rhs) { |
|
#if 0 |
|
fputs("Unknown reserved word: ", stderr); |
|
for (i = 0; i < (int)len; i++) |
|
fputc(word[i], stderr); |
|
fputc('\n', stderr); |
|
#endif |
return; |
return; |
|
} |
for (i = 0; i < (int)sz; i++) |
for (i = 0; i < (int)sz; i++) |
encode(p, rhs[i]); |
encode(p, rhs[i]); |
} |
} |