Skip to content

Commit

Permalink
Fix build on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
DemiMarie committed Apr 4, 2017
1 parent 78509fb commit f2950b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yacc/reader.c
Expand Up @@ -1231,7 +1231,6 @@ void add_symbol(void)

void copy_action(void)
{
push_stack('{');
register int c;
register int i, n;
int depth;
Expand All @@ -1242,6 +1241,7 @@ void copy_action(void)
char *a_line = dup_line();
char *a_cptr = a_line + (cptr - line);

push_stack('{');
if (last_was_action) syntax_error (lineno, line, cptr);
last_was_action = 1;

Expand Down

0 comments on commit f2950b5

Please sign in to comment.