Index: mojo/public/bindings/pylib/parse/mojo_lexer.py |
diff --git a/mojo/public/bindings/pylib/parse/mojo_lexer.py b/mojo/public/bindings/pylib/parse/mojo_lexer.py |
index e5949a390139fc02859c9707dca0e7cd698944cb..7a0fd0d8e8f4b77e525cf382b54a67adb8796607 100644 |
--- a/mojo/public/bindings/pylib/parse/mojo_lexer.py |
+++ b/mojo/public/bindings/pylib/parse/mojo_lexer.py |
@@ -81,6 +81,9 @@ class Lexer(object): |
# Conditional operator (?) |
'CONDOP', |
+ # Request / response |
+ 'RESPONSE', |
+ |
# Delimeters |
'LPAREN', 'RPAREN', # ( ) |
'LBRACKET', 'RBRACKET', # [ ] |
@@ -189,6 +192,9 @@ class Lexer(object): |
# ? |
t_CONDOP = r'\?' |
+ # => |
+ t_RESPONSE = r'=>' |
+ |
# Delimeters |
t_LPAREN = r'\(' |
t_RPAREN = r'\)' |