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
commitdc15972a98d7b60bd81f9a6b456ecccaeb7c654d (patch)
tree1bb62d4a902388d4a0440c4524ab838a03aee9ea /waflib/extras/ocaml.py
parentccc9b971ab206fa3dc32a432a3e76db976192f58 (diff)
parent8cb9c6430dc0056f8d40b4d8e0bdc616ff397e1f (diff)
downloadganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.tar.gz
ganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.tar.bz2
ganv-dc15972a98d7b60bd81f9a6b456ecccaeb7c654d.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 afe73c0..7d785c6 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]