summaryrefslogtreecommitdiffstats
path: root/waflib/extras/ocaml.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:03 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commit76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd (patch)
treeca16666879d08ad9f0657189b31b6f466417eb8a /waflib/extras/ocaml.py
parent36e5b237b6e0a0a5f0c2904ad8db93bad5de6d0a (diff)
parent46ac21b8c413f73ad723499aa76ecea2f59cb57d (diff)
downloadingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.tar.gz
ingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.tar.bz2
ingen-76b2bef46c9e46bbff7d8dfe2ac5977e98d5f4dd.zip
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/extras/ocaml.py')
-rw-r--r--waflib/extras/ocaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waflib/extras/ocaml.py b/waflib/extras/ocaml.py
index afe73c0c..7d785c6f 100644
--- a/waflib/extras/ocaml.py
+++ b/waflib/extras/ocaml.py
@@ -15,7 +15,7 @@ EXT_MLI = ['.mli']
EXT_MLC = ['.c']
EXT_ML = ['.ml']
-open_re = re.compile('^\s*open\s+([a-zA-Z]+)(;;){0,1}$', re.M)
+open_re = re.compile(r'^\s*open\s+([a-zA-Z]+)(;;){0,1}$', re.M)
foo = re.compile(r"""(\(\*)|(\*\))|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^()*"'\\]*)""", re.M)
def filter_comments(txt):
meh = [0]