From 6becf40e27853d78e2d156217c76ff7f9076af27 Mon Sep 17 00:00:00 2001 From: moculus Date: Sat, 3 May 2008 18:40:31 +0000 Subject: [PATCH] c-style comments --HG-- branch : pmacs2 --- mode/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mode/conf.py b/mode/conf.py index b1c4067..3fc85d2 100644 --- a/mode/conf.py +++ b/mode/conf.py @@ -5,6 +5,7 @@ from mode.sh import StringGrammar class ConfGrammar(Grammar): rules = [ PatternRule(r'comment', r'#.*$'), + PatternRule(r'comment', r'//.*$'), RegionRule(r'string', r"'", Grammar, r"'"), RegionRule(r'string', r'"', StringGrammar, r'"'), ]