MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / das_yyerror

Function das_yyerror

src/parser/ds_parser.cpp:12643–12649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12641}
12642
12643void das_yyerror ( DAS_YYLTYPE * lloc, yyscan_t scanner, const string & error ) {
12644 if ( !yyextra->das_suppress_errors ) {
12645 yyextra->g_Program->error(error,"","",LineInfo(yyextra->g_FileAccessStack.back(),
12646 lloc->first_column,lloc->first_line,lloc->last_column,lloc->last_line),
12647 CompilationError::invalid_expression);
12648 }
12649}
12650
12651LineInfo tokAt ( yyscan_t scanner, const struct DAS_YYLTYPE & li ) {
12652 return LineInfo(yyextra->g_FileAccessStack.back(),

Callers 3

yyparseFunction · 0.70
yyparseFunction · 0.70
yyparseFunction · 0.50

Calls 2

LineInfoClass · 0.50
errorMethod · 0.45

Tested by

no test coverage detected