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 | 91a9487f8abdf08a2f85e83b25b5ee6243536d05 (patch) | |
tree | 7c591caca11f38f239f8add5a21b47767e216f38 /waflib/extras/ocaml.py | |
parent | 36d42374175e3ede3c75c364e12541db838df6b7 (diff) | |
parent | 361ad5ce8c3584db02b82f7de6eaf25144794440 (diff) | |
download | sord-91a9487f8abdf08a2f85e83b25b5ee6243536d05.tar.gz sord-91a9487f8abdf08a2f85e83b25b5ee6243536d05.tar.bz2 sord-91a9487f8abdf08a2f85e83b25b5ee6243536d05.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 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] |