213111f0fc
When looking for the keyword in a preprocessor directive, we were checking for non-word characters to find its end. If that check failed (i.e. we had a word character) we would then check for EOL (which necessarily failed, on a word character). That made no sense. However, we genuinely have no interest in a directive with nothing after the keyword, so do check for EOL after the loop (once we've skipped spaces after the keyword). The loop itself was made needlessly complicated by, on finding the end of the keyword, skipping over later space inside the loop. Moved this outside the loop. Change-Id: Iccc2d445bf44deb75604e7fa60f2464e7397d8ed Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> |
||
---|---|---|
.. | ||
mac | ||
unix | ||
win32 | ||
makefile.cpp | ||
makefile.h | ||
makefiledeps.cpp | ||
makefiledeps.h | ||
metamakefile.cpp | ||
metamakefile.h | ||
projectgenerator.cpp | ||
projectgenerator.h | ||
xmloutput.cpp | ||
xmloutput.h |