X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=tokenization.py;h=819a0de9ea7fd5e07a9c2c0a5c7d93b55d6f0fda;hp=88576bd8ad82ef177203ddd0c5901d60a7b2dd17;hb=c7f381fbcb57ba1b7e33558a28fdb34f31234c07;hpb=3a076cfd2c46c9f3b51815facd613445722a340b 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'\('),