diff options
author | Eugene Sandulenko | 2016-06-19 21:00:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 5db0d15bc2b6e2f3e08666ffa3184bd04619d49a (patch) | |
tree | f1fa50608678d4d436092efd0d64081dc7585309 /engines/director/lingo/lingo-lex.l | |
parent | 81b056ffc1670dba3e46c42eb5d16263ab724f6e (diff) | |
download | scummvm-rg350-5db0d15bc2b6e2f3e08666ffa3184bd04619d49a.tar.gz scummvm-rg350-5db0d15bc2b6e2f3e08666ffa3184bd04619d49a.tar.bz2 scummvm-rg350-5db0d15bc2b6e2f3e08666ffa3184bd04619d49a.zip |
DIRECTOR: Lingo: Simpler token constants
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index c49dae956a..2e21c7e517 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -47,12 +47,12 @@ whitespace [\t ] --[^\r\n]* ^{whitespace} [\t]+ { return ' '; } -into { return OP_INTO; } -mci { return FUNC_MCI; } -mciwait { return FUNC_MCIWAIT; } -put { return FUNC_PUT; } -set { return FUNC_SET; } -to { return OP_TO; } +into { return tINTO; } +mci { return tMCI; } +mciwait { return tMCIWAIT; } +put { return tPUT; } +set { return tSET; } +to { return tTO; } {variable} { yylval.s = new Common::String(yytext); return VAR; } {constfloat} { yylval.f = atof(yytext); return FLOAT; } |