tt improvement

--HG--
branch : pmacs2
This commit is contained in:
moculus 2009-02-20 06:21:51 +00:00
parent 5124367014
commit 25bcb7a8d3
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class TagGrammar(Grammar):
class TemplateGrammar(Grammar):
rules = [
PatternRule(r'escaped', r'&[^;]+;'),
RegionRule(r'comment', r'<!--', Grammar, r'-->'),
RegionRule(r'directive', r'\[\%', DirectiveGrammar, r'%%\]'),
RegionRule(r'tt_tag', r'</?', TagGrammar, r'/?>'),