qt6-bb10/qmake/generators
Edward Welbourne 00a855d643 Avoid having division caught up in parsing of comments.
A loop to skip space and comments was meant to break on anything else
but would have not broken on a division operator (where it should) due
to it getting caught in the check for a comment-start, without falling
back suitably when it didn't complete that check.

Managed to contrive a suitably twisted change to findDeps test to
reveal the bug; broken previously, now fixed.  Not ideal, as it relied
on another bug to fail previously - backslash-newline shouldn't end a
preprocessing directive line - but it should still pass once that's
fixed, too.  Exercising a bug in qmake usually involves code that
won't compile anyway, making it tricky to write a test that reveals
the bug but that passes once it's fixed.

Change-Id: I08a1d7cc5e3d7fd1ac0a48e5c09dfdfbb7580b11
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-11-20 15:01:38 +00:00
..
mac Xcode generator: only replace the suffix in the library path 2015-11-09 08:35:04 +00:00
unix support relative paths in QMAKE_RPATHDIR 2015-10-20 17:18:16 +00:00
win32 MakefileGenerator::processSources() doesn't need to be virtual. 2015-11-13 15:10:32 +00:00
makefile.cpp fix bogus complaints about prl targets without extension in bundles 2015-10-14 15:43:26 +00:00
makefile.h MakefileGenerator::processSources() doesn't need to be virtual. 2015-11-13 15:10:32 +00:00
makefiledeps.cpp Avoid having division caught up in parsing of comments. 2015-11-20 15:01:38 +00:00
makefiledeps.h Update copyright headers 2015-02-11 06:49:51 +00:00
metamakefile.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
metamakefile.h Update copyright headers 2015-02-11 06:49:51 +00:00
projectgenerator.cpp QtCore/qmake: drop some unneeded QChar -> QString conversions 2015-10-11 12:29:28 +00:00
projectgenerator.h Update copyright headers 2015-02-11 06:49:51 +00:00
xmloutput.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
xmloutput.h Update copyright headers 2015-02-11 06:49:51 +00:00