diff options
author | Eugene Sandulenko | 2016-08-05 07:47:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-05 07:49:00 +0200 |
commit | b60c5d927e6d4a86660937f8426cf557e7e90f7e (patch) | |
tree | 50191cf04f570db6b4dd27506f42de70e61800d0 /engines/director/lingo/lingo-lex.l | |
parent | 8a6b82a91978bd3b35a8e5dbfd842710b65f2a59 (diff) | |
download | scummvm-rg350-b60c5d927e6d4a86660937f8426cf557e7e90f7e.tar.gz scummvm-rg350-b60c5d927e6d4a86660937f8426cf557e7e90f7e.tar.bz2 scummvm-rg350-b60c5d927e6d4a86660937f8426cf557e7e90f7e.zip |
DIRECTOR: Lingo: Revert adding prefix 'v' to all Symbol types.
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index 831b30bc46..5e64922894 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -141,9 +141,9 @@ whitespace [\t ] yylval.e[1] = g_lingo->_theEntityFields[field]->field; if (g_lingo->_theEntities[ptr]->hasId) - return vTHEENTITYWITHID; + return THEENTITYWITHID; else - return vTHEENTITY; + return THEENTITY; } warning("Unhandled the entity %s", ptr); @@ -160,9 +160,9 @@ whitespace [\t ] yylval.e[1] = 0; // No field if (g_lingo->_theEntities[ptr]->hasId) - return vTHEENTITYWITHID; + return THEENTITYWITHID; else - return vTHEENTITY; + return THEENTITY; } warning("Unhandled the entity %s", ptr); @@ -185,17 +185,17 @@ whitespace [\t ] yylval.s = new Common::String(yytext); if (g_lingo->_handlers.contains(yytext)) { - if (g_lingo->_handlers[yytext]->type == vBLTIN && g_lingo->_handlers[yytext]->nargs == -1) - return vBLTINNOARGS; + if (g_lingo->_handlers[yytext]->type == BLTIN && g_lingo->_handlers[yytext]->nargs == -1) + return BLTINNOARGS; } return ID; } -{constfloat} { count(); yylval.f = atof(yytext); return vFLOAT; } -{constinteger} { count(); yylval.i = strtol(yytext, NULL, 10); return vINT; } +{constfloat} { count(); yylval.f = atof(yytext); return FLOAT; } +{constinteger} { count(); yylval.i = strtol(yytext, NULL, 10); return INT; } {operator} { count(); return *yytext; } {newline} { return '\n'; } -{conststring} { count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return vSTRING; } +{conststring} { count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; } . %% |