nasm readded

--HG--
branch : pmacs2
This commit is contained in:
moculus 2007-06-24 14:30:42 +00:00
parent 6639271c29
commit b39b121a4b
1 changed files with 2 additions and 8 deletions

View File

@ -3,14 +3,8 @@ from lex2 import Grammar, PatternRule, RegionRule
class StringGrammar(Grammar): class StringGrammar(Grammar):
rules = [ rules = [
PatternRule( PatternRule(name=r'octal', pattern=r'\\[0-7]{3}'),
name=r'octal', PatternRule(name=r'escaped', pattern=r'\\.'),
pattern=r'\\[0-7]{3}',
),
PatternRule(
name=r'escaped',
pattern=r'\\.',
),
] ]
class NasmGrammar(Grammar): class NasmGrammar(Grammar):