mirror of
https://github.com/cwbaker/lalr.git
synced 2026-09-26 16:33:18 +03:00
FIX: Remove line from undefined symbol when whitespace is not defined
This commit is contained in:
parent
83fad1fcca
commit
b20eb0bce9
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ int GrammarParser::parse( const char* start, const char* finish, ErrorPolicy* er
|
|||
}
|
||||
else if( grammar_->whitespace_tokens().empty() )
|
||||
{
|
||||
error(line_, PARSER_ERROR_UNDEFINED_SYMBOL, "no '%%whitespace' directive defined" );
|
||||
error( PARSER_ERROR_UNDEFINED_SYMBOL, "no '%%whitespace' directive defined" );
|
||||
}
|
||||
return errors_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue