qt6-bb10/qmake
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
..
doc Doc: corrected error about path list separator 2015-11-04 13:38:56 +00:00
generators Avoid having division caught up in parsing of comments. 2015-11-20 15:01:38 +00:00
library Use QFileInfo::exist(f) instead of QFileInfo(f).exists() if possible 2015-10-27 17:54:51 +00:00
Makefile.unix Move the official Qt version from qglobal.h to .qmake.conf 2015-10-14 20:12:57 +00:00
Makefile.win32 msvc2015: Align compiler flags with rest of Qt build 2015-10-20 14:10:11 +00:00
cachekeys.h Update copyright headers 2015-02-11 06:49:51 +00:00
main.cpp fix installing unix dll symlinks on windows hosts 2015-06-01 13:26:57 +00:00
meta.cpp make .prl processing less convoluted 2015-10-02 14:01:13 +00:00
meta.h make .prl processing less convoluted 2015-10-02 14:01:13 +00:00
option.cpp Distinguish between Objective-C and Objective-C++ sources 2015-10-09 15:15:17 +00:00
option.h Distinguish between Objective-C and Objective-C++ sources 2015-10-09 15:15:17 +00:00
project.cpp make fileFixify() calling convention somewhat sane 2015-04-21 12:06:20 +00:00
project.h make fileFixify() calling convention somewhat sane 2015-04-21 12:06:20 +00:00
property.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
property.h Update copyright headers 2015-02-11 06:49:51 +00:00
qmake-docs.pro move qmake docs into qtbase 2013-06-17 15:41:55 +02:00
qmake.pri nuke gbuild generator 2015-02-02 11:14:34 +00:00
qmake.pro bring fake qmake project up to snuff 2013-11-04 19:50:07 +01:00
qmake_pch.h Update copyright headers 2015-02-11 06:49:51 +00:00