aboutsummaryrefslogtreecommitdiff
path: root/bparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'bparser.py')
-rwxr-xr-xbparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bparser.py b/bparser.py
index 31aa2cf..1f4bdc2 100755
--- a/bparser.py
+++ b/bparser.py
@@ -54,7 +54,7 @@ t_LBRACKET = '\['
t_RBRACKET = '\]'
t_LBRACE = '\{'
t_RBRACE = '\}'
-t_COMMENT = '\#[^\n]*'
+t_ignore_COMMENT = '\\#.*?(?=\\n)'
t_COMMA = ','
t_DOT = '\.'
t_COLON = ':'