parent
5403988c14
commit
1813fdabcd
|
@ -9,7 +9,10 @@ class ArgumentGrammar(Grammar): rules = [PatternRule(r'data', r'[^}]+')]
|
|||
class StringGrammar1(Grammar): rules = [PatternRule(r'data', r"[^']+")]
|
||||
class StringGrammar2(Grammar): rules = [PatternRule(r'data', r"(?:[^']|'(?!'))+")]
|
||||
|
||||
class FalseGrammar(Grammar): rules = [PatternRule('data', r'[^\\]+')]
|
||||
class FalseGrammar(Grammar): rules = [
|
||||
PatternRule('data', r'[^\\]+'),
|
||||
RegionRule('comment', r'\\if', None, r'\\fi'),
|
||||
]
|
||||
|
||||
class LatexGrammar(Grammar):
|
||||
rules = [
|
||||
|
|
Loading…
Reference in New Issue