From ecef2d62dfa69b953f0618775d0c3a68a955f3ca Mon Sep 17 00:00:00 2001 From: Andres Gutierrez Date: Sun, 16 Feb 2014 01:55:45 -0600 Subject: [PATCH] Added keyword 'as' --- zephir/zephir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephir/zephir.py b/zephir/zephir.py index f360cab..2e477b3 100644 --- a/zephir/zephir.py +++ b/zephir/zephir.py @@ -46,7 +46,7 @@ class ZephirLexer(RegexLexer): (r'[{(\[;,]', Punctuation, 'slashstartsregex'), (r'[})\].]', Punctuation), (r'(for|in|while|do|break|return|continue|switch|case|default|if|else|loop|require|inline|' - r'throw|try|catch|finally|new|delete|typeof|instanceof|void|namespace|use|extends|' + r'throw|try|catch|finally|new|delete|typeof|instanceof|void|namespace|use|as|extends|' r'this|fetch|isset|unset|echo|fetch|likely|unlikely|empty)\b', Keyword, 'slashstartsregex'), (r'(var|let|with|function)\b', Keyword.Declaration, 'slashstartsregex'), (r'(abstract|boolean|bool|char|class|const|double|enum|export|'