diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:31:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 18:14:27 +0100 |
commit | 8c3d48d190cb73d73891ed704c84707d16c27272 (patch) | |
tree | 89b5dd3652f1f77dbfd6819023ee3843fcea8283 /waflib/extras/ocaml.py | |
parent | 914c4143592af494d70549ee614b578ab681450c (diff) | |
parent | 1c6fb2b3543d1229eadaa2af007383fbcf82289d (diff) | |
download | serd-8c3d48d190cb73d73891ed704c84707d16c27272.tar.gz serd-8c3d48d190cb73d73891ed704c84707d16c27272.tar.bz2 serd-8c3d48d190cb73d73891ed704c84707d16c27272.zip |
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/extras/ocaml.py')
-rw-r--r-- | waflib/extras/ocaml.py | 2 |
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] |