Skip to content

Commit

Permalink
Per #2237, ci-run-unit this change to config.tab.cc changes the initi…
Browse files Browse the repository at this point in the history
…al value of yystate from 0 to 8. This has the effect of enabling an empty config file to not produce a parsing error. It can still also parse a nonempty config file. Running all of the unit tests to confirm that this has no unintended consequences.
  • Loading branch information
JohnHalleyGotway committed Aug 20, 2022
1 parent 9ea41f0 commit e1c6f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/vx_config/config.tab.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ yyparse (void)

YYDPRINTF ((stderr, "Starting parse\n"));

yystate = 0;
yystate = 8;
yyerrstatus = 0;
yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */
Expand Down

0 comments on commit e1c6f5d

Please sign in to comment.