From 4ae87e7e2cf7b2b51905caeb6c4087b0d8da1687 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 13 Sep 2012 22:00:11 -0600 Subject: [PATCH] add char syntax to elisp --HG-- branch : pmacs2 --- mode/elisp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mode/elisp.py b/mode/elisp.py index f0b2c49..74231c5 100644 --- a/mode/elisp.py +++ b/mode/elisp.py @@ -26,6 +26,7 @@ class ELispGrammar(Grammar): PatternRule('elisp_symbol', "'" + symb), PatternRule('delimiter', r"'"), PatternRule('elisp_type', ":" + symb), + PatternRule('char', r'\?(?:[^\\]|\\.)'), PatternRule('attribute', "&" + symb), PatternRule("integer", r"(?