fix: when looking for f.i. C_loe.., forgot to reset to_change when found
authorceriel <none@none>
Fri, 10 Mar 1989 10:06:47 +0000 (10:06 +0000)
committerceriel <none@none>
Fri, 10 Mar 1989 10:06:47 +0000 (10:06 +0000)
util/ceg/EM_parser/common/pars.g

index a26b4d6..62bc9c0 100644 (file)
@@ -166,7 +166,7 @@ c_row       : %if ( to_change && strcmp( yytext, to_change) == 0)
 
        | %if ( to_change && strcmp( yytext, to_change) == 0)
          DEF_C_INSTR           { init_defaults( yytext);}
-         [ Dspecial | Dsimple] { handle_defaults();}
+         [ Dspecial | Dsimple] { handle_defaults(); to_change = 0; }
 
        | DEF_C_INSTR
          [ c_special | c_simple]