projects
/
fur
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented closures
[fur]
/
tokenization.py
diff --git
a/tokenization.py
b/tokenization.py
index
88576bd
..
819a0de
100644
(file)
--- a/
tokenization.py
+++ b/
tokenization.py
@@
-46,7
+46,7
@@
def _make_token_matcher(definition):
return token_matcher
_TOKEN_MATCHERS = [
return token_matcher
_TOKEN_MATCHERS = [
- ('keyword', r'(def|do|else|end|if)(?![a-z_])'),
+ ('keyword', r'(def|do|else|end|if
|lambda
)(?![a-z_])'),
('open_bracket', r'\['),
('close_bracket', r'\]'),
('open_parenthese', r'\('),
('open_bracket', r'\['),
('close_bracket', r'\]'),
('open_parenthese', r'\('),