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

Function das_yyfatalerror

src/parser/ds_parser.cpp:12638–12641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12636
12637
12638void das_yyfatalerror ( DAS_YYLTYPE * lloc, yyscan_t scanner, const string & error, CompilationError cerr ) {
12639 yyextra->g_Program->error(error,"","",LineInfo(yyextra->g_FileAccessStack.back(),
12640 lloc->first_column,lloc->first_line,lloc->last_column,lloc->last_line),cerr);
12641}
12642
12643void das_yyerror ( DAS_YYLTYPE * lloc, yyscan_t scanner, const string & error ) {
12644 if ( !yyextra->das_suppress_errors ) {

Callers 1

ds_lexer.cppFile · 0.85

Calls 2

LineInfoClass · 0.50
errorMethod · 0.45

Tested by

no test coverage detected