X-Git-Url: https://code.kerkeslager.com/?a=blobdiff_plain;f=tokenization.py;h=819a0de9ea7fd5e07a9c2c0a5c7d93b55d6f0fda;hb=f378cbf85e3dbd26d5a97b6ac9b1aeb0811ecf74;hp=88576bd8ad82ef177203ddd0c5901d60a7b2dd17;hpb=3a076cfd2c46c9f3b51815facd613445722a340b;p=fur diff --git a/tokenization.py b/tokenization.py index 88576bd..819a0de 100644 --- a/tokenization.py +++ b/tokenization.py @@ -46,7 +46,7 @@ def _make_token_matcher(definition): 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'\('),