Changeset: 8aed76657b28 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8aed76657b28 Modified Files: testing/exportutils.py Branch: Aug2018 Log Message:
Improve preprocess so that glued-together arguments are considered. diffs (13 lines): diff --git a/testing/exportutils.py b/testing/exportutils.py --- a/testing/exportutils.py +++ b/testing/exportutils.py @@ -104,8 +104,8 @@ def replace(line, defines, tried): pos = res2.start(0) + len(repl[arg]) bd = bd[:res2.start(0)] + repl[arg] + bd[res2.end(0):] res2 = r2.search(bd, pos) + bd = bd.replace('##', '') bd, changed = replace(bd, defines, tried + [name]) - bd = bd.replace('##', '') line = line[:res.start(0)] + bd + line[res.end(0):] res = r.search(line, res.start(0) + len(bd)) return line, changed _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list