Skip to content

Commit 94b34fb

Browse files
committed
Add missing patch
1 parent 36d7c35 commit 94b34fb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git generator/simplecpp/simplecpp.cpp generator/simplecpp/simplecpp.cpp
2+
index 3e9dda6c..ee8f7f7c 100644
3+
--- generator/simplecpp/simplecpp.cpp
4+
+++ generator/simplecpp/simplecpp.cpp
5+
@@ -3455,10 +3455,12 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
6+
err.msg = '#' + rawtok->str() + ' ' + err.msg;
7+
outputList->push_back(err);
8+
}
9+
+/* Patched for PythonQt generator: Do not stop on #error directive:
10+
if (rawtok->str() == ERROR) {
11+
output.clear();
12+
return;
13+
}
14+
+*/
15+
}
16+
17+
if (rawtok->str() == DEFINE) {

0 commit comments

Comments
 (0)