From a65b64c7c47a2e3953ad8253107ca45dcd3d60b4 Mon Sep 17 00:00:00 2001 From: Edgar Date: Tue, 5 Oct 2021 19:47:07 +0200 Subject: [PATCH] :bug: Fixed missing scriptlexer patch --- ogre/1.11/conandata.yml | 1 + ogre/1.11/patches/1.11.6.1/scriptlexer.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 ogre/1.11/patches/1.11.6.1/scriptlexer.patch diff --git a/ogre/1.11/conandata.yml b/ogre/1.11/conandata.yml index 79a3702..e87cdd9 100644 --- a/ogre/1.11/conandata.yml +++ b/ogre/1.11/conandata.yml @@ -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]" diff --git a/ogre/1.11/patches/1.11.6.1/scriptlexer.patch b/ogre/1.11/patches/1.11.6.1/scriptlexer.patch new file mode 100644 index 0000000..b54cdb6 --- /dev/null +++ b/ogre/1.11/patches/1.11.6.1/scriptlexer.patch @@ -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 --;