From 895e02e1f61feb3cd7e9f73bc5a5de0fb7b139f2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 11 Jan 2017 19:04:07 +0100 Subject: DIRECTOR: Lingo: Fixed parsing of builtins with arglist --- engines/director/lingo/lingo-lex.l | 6 ------ 1 file changed, 6 deletions(-) (limited to 'engines/director/lingo/lingo-lex.l') 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) { -- cgit v1.2.3