Fix / Workaround for issue #11224. (cont.)

* Corrected a small error in a regex of "boost_mpl_preprocess.py" which
  did match too much and therefore resulted in wrong substitution in
  some cases.
* Added some more directories with files that need fixing to script
  "fix_boost_mpl_preprocess.py".

Signed-off-by: Deniz Bahadir <dbahadir@benocs.com>
This commit is contained in:
Deniz Bahadir committed 2015-05-01 17:57:34 +02:00
1 parent 95f79d95a5
commit 7cd0559ce8
2 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ def create_more_container_files(sourceDir, suffix, maxElements, containers, cont
for line in fileinput.input( newFile, inplace=1, mode="rU" ):
line = re.sub(r'20', re.escape(str(i+10)), line.rstrip())
line = re.sub(r'11', re.escape(str(i + 1)), line.rstrip())
line = re.sub(r'10', re.escape(str(i)), line.rstrip())
line = re.sub(r'10(?![0-9])', re.escape(str(i)), line.rstrip())
print(line)
for container in containers2:
for i in range(20, maxElements, 10):
@@ -42,7 +42,7 @@ def create_more_container_files(sourceDir, suffix, maxElements, containers, cont
for line in fileinput.input( newFile, inplace=1, mode="rU" ):
line = re.sub(r'20', re.escape(str(i+10)), line.rstrip())
line = re.sub(r'11', re.escape(str(i + 1)), line.rstrip())
line = re.sub(r'10', re.escape(str(i)), line.rstrip())
line = re.sub(r'10(?![0-9])', re.escape(str(i)), line.rstrip())
print(line)