aboutsummaryrefslogtreecommitdiff
path: root/bparser.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-10 13:56:29 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-10 13:56:29 +0200
commitaad3a7a76ea9c38b4f954fe9768174ac6065af35 (patch)
tree367630942ce0d0fefcbbe42da5d69ec9eaff90e8 /bparser.py
parent2772a4cbdf72f11146cff2711feb2fe94cc35f6a (diff)
downloadmeson-aad3a7a76ea9c38b4f954fe9768174ac6065af35.zip
meson-aad3a7a76ea9c38b4f954fe9768174ac6065af35.tar.gz
meson-aad3a7a76ea9c38b4f954fe9768174ac6065af35.tar.bz2
Added test for external deps and fixed comments at the same time.
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 = ':'