* src/reader.c (parse_braces): Don't fetch the next char, the

convention is to fetch on entry.
* tests/torture.at (GNU Cim Grammar): Reintroduce their weird
'switch' without a following semicolon.
* tests/regression.at (braces parsing): New.
This commit is contained in:
Akim Demaille
2002-01-06 20:59:30 +00:00
parent c4267a3d35
commit 3f2f7848cc
4 changed files with 34 additions and 5 deletions

View File

@@ -1208,7 +1208,7 @@ EXPRESSION_SIMP : EXPRESSION_SIMP
case HLE: mout(MLE);break;
case HGT: mout(MGT);break;
case HGE: mout(MGE);break;
}; $$=NULL;}
}$$=NULL;}
| EXPRESSION_SIMP
HREFRELOPERATOR
EXPRESSION_SIMP