From 4aedc5d76250fae734af1cd89256ec70e165ab18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20B=C3=B6hm?= Date: Mon, 29 Jun 2009 12:28:01 +0200 Subject: fix function_call - function_call is now an expression and a statement - call keyword is required to make lookahead = 1 work --- src/front/lexer.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/front/lexer.py') diff --git a/src/front/lexer.py b/src/front/lexer.py index f2810cd..53ccaec 100644 --- a/src/front/lexer.py +++ b/src/front/lexer.py @@ -21,6 +21,7 @@ class Lexer: 'while': Token(Tag.WHILE), 'if': Token(Tag.IF), 'else': Token(Tag.ELSE), + 'call': Token(Tag.CALL), 'fun': Token(Tag.FUN), 'end': Token(Tag.END)} return -- cgit v1.2.3