mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
* 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:
@@ -1119,10 +1119,7 @@ copy_action (symbol_list *rule, int stack_offset)
|
||||
/* above loop exits when c is '}' */
|
||||
|
||||
if (--count)
|
||||
{
|
||||
obstack_1grow (&action_obstack, c);
|
||||
c = getc (finput);
|
||||
}
|
||||
obstack_1grow (&action_obstack, c);
|
||||
}
|
||||
|
||||
/* As a Bison extension, add the ending semicolon. Since some Yacc
|
||||
|
||||
Reference in New Issue
Block a user