diff options
author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2015-11-26 10:31:28 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2015-12-15 16:40:02 +0000 |
commit | 209a26c6c4187a15cc6297000ad729392aac6454 (patch) | |
tree | 236d83514325e4eb818fc42233793cbec6f01e4a /tests/auto/tools/qmake/testdata | |
parent | 769027dcb3d9bd9f6a0fa7a97adf9ea3142904c4 (diff) |
qmake: Fix comment false-alarm bug in findMocs().
If a / wasn't part of a comment-start, it and the character after it
were none the less stepped over. If the character after started an
enclosure, this would duly be missed, leading to mis-parsing of the
subsequent text. As for similar bug recently fixed in findDeps().
Change-Id: Ie5329ec633c23a554b42a6351723c980e27fb9a9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/tools/qmake/testdata')
-rw-r--r-- | tests/auto/tools/qmake/testdata/findMocs/object7.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/findMocs/object7.h b/tests/auto/tools/qmake/testdata/findMocs/object7.h index 92b4672d6b..3922a542e0 100644 --- a/tests/auto/tools/qmake/testdata/findMocs/object7.h +++ b/tests/auto/tools/qmake/testdata/findMocs/object7.h @@ -33,6 +33,7 @@ /**//*'*/ #include <QObject> +#define bogon /"/*" class Object7 : public QObject { |