parent
7f02011b88
commit
42b97aaf40
|
@ -30,6 +30,7 @@ class NasmGrammar(Grammar):
|
|||
PatternRule("nasm.identifier", r'\$?' + word),
|
||||
PatternRule("nasm.float", r"[0-9]+\.[0-9]*|\.[0-9]+|([0-9]|[0-9]+\.[0-9]*|\.[0-9]+)[eE][\+-]?[0-9]+"),
|
||||
PatternRule('delimiter', r'(?://|%%|<<|>>|[~!\.\*/%\-\+\(\)\[\],\|\^\&])'),
|
||||
# TODO: nasm strings seem like they are single-line only
|
||||
RegionRule('string', '"""', StringGrammar4, '"""'),
|
||||
RegionRule('string', "'''", StringGrammar3, "'''"),
|
||||
RegionRule('string', '"', StringGrammar2, '"'),
|
||||
|
|
Loading…
Reference in New Issue