From db9348f2058002bc4e8d71d1b3b7da17160b66cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=9F=D0=B0?= =?UTF-8?q?=D1=86=D1=83=D1=80=D0=B0?= Date: Sat, 17 Jan 2015 20:23:19 +0800 Subject: [PATCH] Add keyword - trait --- zephir/zephir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephir/zephir.py b/zephir/zephir.py index f360cab..4020442 100644 --- a/zephir/zephir.py +++ b/zephir/zephir.py @@ -49,7 +49,7 @@ class ZephirLexer(RegexLexer): r'throw|try|catch|finally|new|delete|typeof|instanceof|void|namespace|use|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|' + (r'(abstract|boolean|bool|char|class|trait|const|double|enum|export|' r'extends|final|float|goto|implements|import|int|string|interface|long|ulong|char|uchar|native|unsigned|' r'private|protected|public|short|static|self|throws|reverse|' r'transient|volatile)\b', Keyword.Reserved),