aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-11 19:04:07 +0100
committerEugene Sandulenko2017-01-11 19:27:19 +0100
commit895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2 (patch)
tree6ed379027a1ce3e209df9bdf958263a61cf89272 /engines/director/lingo/lingo-lex.l
parent320d6c8255de9943ab129fe536f99f4dabad2284 (diff)
downloadscummvm-rg350-895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2.tar.gz
scummvm-rg350-895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2.tar.bz2
scummvm-rg350-895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2.zip
DIRECTOR: Lingo: Fixed parsing of builtins with arglist
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 9d9dba7d39..afd90aeb6d 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -246,12 +246,6 @@ whitespace [\t ]
if (g_lingo->_twoWordBuiltins.contains(yytext))
return TWOWORDBUILTIN;
- // Special treatment of 'me'. First parameter is method name
- if (!g_lingo->_currentFactory.empty()) {
- if (yylval.s->equalsIgnoreCase("me"))
- return tME;
- }
-
if (g_lingo->_handlers.contains(yytext)) {
if (g_lingo->_handlers[yytext]->type == BLTIN && g_lingo->_handlers[yytext]->parens == false) {
if (g_lingo->_handlers[yytext]->nargs == 0) {