Skip to content

Commit

Permalink
App: allow starting '_' in an expression identifier
Browse files Browse the repository at this point in the history
It's a signle line change in the flex source, bug a big change in the
generated source.
  • Loading branch information
realthunder authored and wwmayer committed Aug 30, 2019
1 parent 5bef136 commit 278e933
Show file tree
Hide file tree
Showing 2 changed files with 7,311 additions and 4,645 deletions.
2 changes: 1 addition & 1 deletion src/App/ExpressionParser.l
Expand Up @@ -283,4 +283,4 @@ $[A-Za-z]{1,2}{DIGIT}+ COUNTCHARS; yylval.string = yytext; return CELLADDR
return FUNC;
}

({L}{M}*)({L}{M}*|{N}|_)* COUNTCHARS; yylval.string = yytext; return IDENTIFIER;
({L}{M}*|_)({L}{M}*|{N}|_|@)* COUNTCHARS; yylval.string = yytext; return IDENTIFIER;

0 comments on commit 278e933

Please sign in to comment.