From 33992b426d2e2cc7d1f1945020e598ea2a886822 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 10 Mar 1989 10:06:47 +0000 Subject: [PATCH] fix: when looking for f.i. C_loe.., forgot to reset to_change when found --- util/ceg/EM_parser/common/pars.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ceg/EM_parser/common/pars.g b/util/ceg/EM_parser/common/pars.g index a26b4d65a..62bc9c054 100644 --- a/util/ceg/EM_parser/common/pars.g +++ b/util/ceg/EM_parser/common/pars.g @@ -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]