From 0b9640b05fbd5abe2f48a318dadbcdbeaf541ce1 Mon Sep 17 00:00:00 2001 From: moculus Date: Wed, 2 Apr 2008 18:47:41 +0000 Subject: [PATCH] rule precedence --HG-- branch : pmacs2 --- mode/latex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/latex.py b/mode/latex.py index ab8aec9..9bdfe77 100644 --- a/mode/latex.py +++ b/mode/latex.py @@ -7,8 +7,8 @@ class LatexGrammar(Grammar): PatternRule(r'comment', r'\%.*$'), PatternRule(r'latex_control', r'\\[a-zA-Z]+'), RegionRule(r'latex_argument', r'{', None, r'}'), - RegionRule(r'latex_string', r"`", None, r"'"), RegionRule(r'latex_string', r"``", None, r"''"), + RegionRule(r'latex_string', r"`", None, r"'"), PatternRule(r'latex_escaped', r'\\.'), PatternRule(r'latex_special', r'[{}$^_%~#&]'), ]