Ignore:
Timestamp:
06/20/20 01:02:20 (4 years ago)
Author:
Maciej Komosinski
Message:

Improved error messages (display longer names of the relevant object and field when available)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/framscript.l

    r477 r950  
    3535"'''"              {trctx.tmp=""; trctx.multilimit='\''; BEGIN multiline;}
    3636"@line "[0-9]+\n   {trctx.line=atol(yytext+6);trctx.linechanged=true;}
    37 "@file "[^\n\t\r]+\n {trctx.srcname=SString(yytext+6,yyleng-7);trctx.namechanged=true;}
     37"@file "[^\n\t\r]+\n {trctx.setSrcname(SString(yytext+6,yyleng-7),true);trctx.namechanged=true;}
    3838
    3939[a-zA-Z_][a-zA-Z0-9_]* { int t=lookupToken(yytext);
Note: See TracChangeset for help on using the changeset viewer.