# HG changeset patch # User kono # Date 1053665740 -32400 # Node ID af841e8d739df24966e9c8de581cbc8c2ab5e646 # Parent fb61020a9b48d6313cb57752f5819462909d1551 fix ch lost in #if const diff -r fb61020a9b48 -r af841e8d739d mc-parse.c --- a/mc-parse.c Fri May 23 13:27:48 2003 +0900 +++ b/mc-parse.c Fri May 23 13:55:40 2003 +0900 @@ -3490,6 +3490,13 @@ ch= *chptr; getsym(); i=cexpr(expr(1)); + if (ch) { + if (chptr[-1]==ch) { + /* we are fall into getch(), which lost the last ch */ + /* chptr[-1]==ch check is fanatic, but ... */ + chptr--; + } else error(-1); + } macro_if_depth = macro_if_current; macro_if_skip = !i; }