config parser: recover after invalid input
This is done by ignoring the rest of the current line and jumping to the nearest <error> token. fixes #879
This commit is contained in:
@ -193,7 +193,6 @@ say $callfh ' default:';
|
||||
say $callfh ' printf("BUG in the parser. state = %d\n", call_identifier);';
|
||||
say $callfh ' assert(false);';
|
||||
say $callfh ' }';
|
||||
say $callfh ' state = result->next_state;';
|
||||
say $callfh '}';
|
||||
close($callfh);
|
||||
|
||||
|
Reference in New Issue
Block a user