not about future bug fixing

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2010-10-16 11:10:39 -04:00
parent 7f02011b88
commit 42b97aaf40
1 changed files with 2 additions and 1 deletions

View File

@ -30,9 +30,10 @@ class NasmGrammar(Grammar):
PatternRule("nasm.identifier", r'\$?' + word), 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("nasm.float", r"[0-9]+\.[0-9]*|\.[0-9]+|([0-9]|[0-9]+\.[0-9]*|\.[0-9]+)[eE][\+-]?[0-9]+"),
PatternRule('delimiter', r'(?://|%%|<<|>>|[~!\.\*/%\-\+\(\)\[\],\|\^\&])'), PatternRule('delimiter', r'(?://|%%|<<|>>|[~!\.\*/%\-\+\(\)\[\],\|\^\&])'),
# TODO: nasm strings seem like they are single-line only
RegionRule('string', '"""', StringGrammar4, '"""'), RegionRule('string', '"""', StringGrammar4, '"""'),
RegionRule('string', "'''", StringGrammar3, "'''"), RegionRule('string', "'''", StringGrammar3, "'''"),
RegionRule('string', '"', StringGrammar2, '"'), RegionRule('string', '"', StringGrammar2, '"'),
RegionRule('string', "'", StringGrammar1, "'"), RegionRule('string', "'", StringGrammar1, "'"),
PatternRule('eol', '\n'), PatternRule('eol', '\n'),
PatternRule('continuation', r'\\\n$'), PatternRule('continuation', r'\\\n$'),