From 35c4f55e8e7fc45b9f8cf11d4489cb21163e2c05 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 3 May 2021 13:09:27 +0000 Subject: [PATCH] ide: Fixed issue with freezing .ext on unrecognized input git-svn-id: svn://ultimatepp.org/upp/trunk@15943 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Builders/CppBuilder.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uppsrc/ide/Builders/CppBuilder.cpp b/uppsrc/ide/Builders/CppBuilder.cpp index 9bcfc2912..96585246f 100644 --- a/uppsrc/ide/Builders/CppBuilder.cpp +++ b/uppsrc/ide/Builders/CppBuilder.cpp @@ -291,9 +291,11 @@ Vector CppBuilder::CustomStep(const String& pf, const String& package_, out.FindAdd(f); } } + else if(p.Id("exclude")) { ExtExclude(p, out); } + else if(p.Id("include_path")) { Vector e = ReadPatterns(p); for(int j = 0; j < e.GetCount(); j++) { @@ -309,10 +311,12 @@ Vector CppBuilder::CustomStep(const String& pf, const String& package_, include_path.Add(ee); } } + else if(p.Id("exclude_path")) { ExtExclude(p, include_path); } - if(p.Id("includes")) { + else { + p.PassId("includes"); Vector e = ReadPatterns(p); for(int i = 0; i < files.GetCount(); i++) for(int j = 0; j < e.GetCount(); j++) {