🐛 Fixed missing scriptlexer patch

This commit is contained in:
Edgar 2021-10-05 19:47:07 +02:00
parent d7fb4ff0e8
commit a65b64c7c4
No known key found for this signature in database
GPG Key ID: 17D930BB616061A5
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ patches:
- patch_file: "patches/1.11.6.1/CMakeLists.txt.patch"
- patch_file: "patches/1.11.6.1/Samples-CMakeList.txt.patch"
- patch_file: "patches/1.11.6.1/FixOverlayCMakeLists.txt.patch"
- patch_file: "patches/1.11.6.1/scriptlexer.patch"
requirements:
- "zlib/[1.x]"
- "zziplib/[0.13.x]"

View File

@ -0,0 +1,11 @@
--- OgreMain/src/OgreScriptLexer.cpp
+++ OgreMain/src/OgreScriptLexer.cpp
@@ -79,7 +79,7 @@ namespace Ogre {
error = StringUtil::format(
"no matching open bracket '{' found for close bracket '}' at %s:%d", source,
line);
- return tokens;
+ braceLayer = 1;
}
braceLayer --;