qt5base-lts/tests/auto/tools/moc
Olivier Goffart d2090e19a9 moc: Fix parsing of the empty preprocessor command
When encountering a null preprocessing directive (which is supposed to
be ignored), the moc preprocessor will leave a PP_NEWLINE token in the
token stream. That will confuse the parser.
The PP_NEWLINE token need to be ignored in the preprocessing phase.

Task-number: QTBUG-22717
Change-Id: I1e502a7e5bc6fa8ce2f82109ba7199b95747ff0a
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-04-16 00:54:19 +02:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
testproject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
backslash-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
c-comments.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cstyle-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cxx11-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
dir-in-include-path.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
error-on-wrong-notify.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
escapes-in-string-literals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
extraqualification.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
forgotten-qinterface.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
gadgetwithnoenums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macro-on-cmdline.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
moc.pro moc: support c++11 style enums 2011-10-29 21:18:45 +02:00
namespaced-flags.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
no-keywords.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
oldstyle-casts.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
os9-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
parse-boost.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
pure-virtual-signals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qinvokable.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprivateslots.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
single_function_keyword.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
slots-with-void-template.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task87883.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task189996.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task192552.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task234909.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task240368.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
template-gtgt.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
trigraphs.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tst_moc.cpp moc: Fix parsing of the empty preprocessor command 2012-04-16 00:54:19 +02:00
using-namespaces.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-multiple-qobject-subclasses.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-property-without-read.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00