Skip to content

Commit

Permalink
lexer: allow multiple scriptvar parameters
Browse files Browse the repository at this point in the history
Fixes #361
  • Loading branch information
razvancrainea committed Oct 30, 2014
1 parent 7047b95 commit 010f4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfg.lex
Expand Up @@ -861,7 +861,7 @@ IMPORTFILE "import_file"
svar_tlen = yyleng;
}
}
<SCRIPTVARS>{SEMICOLON}|{ASSIGNOP}|{ARITHOP}|{BITOP}|{LOGOP} {
<SCRIPTVARS>{SEMICOLON}|{COMMA}|{ASSIGNOP}|{ARITHOP}|{BITOP}|{LOGOP} {
count();
if(np==0) {
addstr(&s_buf, yytext, svar_tlen);
Expand Down

0 comments on commit 010f4f2

Please sign in to comment.