Browse Source

Projucer: Fixed an edge case where preprocessor macros would not be correctly parsed if they had the form "MYMACRO="

tags/2021-05-28
hogliux 8 years ago
parent
commit
a1fcd357ae
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      extras/Projucer/Source/Utility/jucer_MiscUtilities.cpp

+ 2
- 1
extras/Projucer/Source/Utility/jucer_MiscUtilities.cpp View File

@@ -97,7 +97,8 @@ StringPairArray parsePreprocessorDefs (const String& text)
{
++s;
s = s.findEndOfWhitespace();
while ((! s.isEmpty()) && *s == ' ')
++s;
while ((! s.isEmpty()) && ! s.isWhitespace())
{


Loading…
Cancel
Save