parent
bd90421ddc
commit
4ae87e7e2c
|
@ -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"(?<![\.0-9a-zA-Z_])(?:0|-?[1-9][0-9]*|0[0-7]+|0[xX][0-9a-fA-F]+)[lL]?(?![\.0-9a-zA-Z_])"),
|
||||
PatternRule("float", r"(?<![\.0-9a-zA-Z_])(?:[0-9]+\.[0-9]*|\.[0-9]+|(?:[0-9]|[0-9]+\.[0-9]*|\.[0-9]+)[eE][\+-]?[0-9]+)(?![\.0-9a-zA-Z_])"),
|
||||
|
|
Loading…
Reference in New Issue