projects
/
fur
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added if expression statements
[fur]
/
tokenization.py
diff --git
a/tokenization.py
b/tokenization.py
index
914d05a
..
f73ddf8
100644
(file)
--- a/
tokenization.py
+++ b/
tokenization.py
@@
-32,7
+32,7
@@
def _make_token_matcher(definition):
return token_matcher
_TOKEN_MATCHERS = [
- ('keyword', r'(def|do|e
nd
)(?![a-z_])'),
+ ('keyword', r'(def|do|e
lse|end|if
)(?![a-z_])'),
('open_parenthese', r'\('),
('close_parenthese', r'\)'),
('comma', r','),