parent
fe83426f8e
commit
0cfae9cb2a
|
@ -6,8 +6,8 @@ class ConfGrammar(Grammar):
|
|||
rules = [
|
||||
PatternRule('conf.comment', '#.*$'),
|
||||
PatternRule('conf.comment', '//.*$'),
|
||||
#RegionRule('conf.string', "'", StringGrammar1, "'"),
|
||||
#RegionRule('conf.string', '"', StringGrammar2, '"'),
|
||||
RegionRule('conf.string', "'", StringGrammar1, "'"),
|
||||
RegionRule('conf.string', '"', StringGrammar2, '"'),
|
||||
PatternRule('conf.data', r'(?:[^\'"#/]|/(?!/))+'),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue