FIX: Remove line from undefined symbol when whitespace is not defined

This commit is contained in:
Charles Baker 2023-07-16 18:33:48 +12:00
parent 83fad1fcca
commit b20eb0bce9

View file

@ -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_;
}