summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-07-31 16:22:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-06 09:30:31 +0200
commit6ada735ac09c4e07adc9f9b40ece76c59713390e (patch)
tree4c8c2d7510ae2565f6481a5d4a06e17f1d84c465 /tests
parentfe721e9fac2d8132b970d8b634fec3f53c20d3c6 (diff)
downloadqttools-6ada735ac09c4e07adc9f9b40ece76c59713390e.tar.gz
cancel complex constructs at end of #define
it's possible that we encounter the end of a #define statement while in the middle of a complex construct (which is part of a macro, obviously). we should discard those, as otherwise Weird Things may happen. Change-Id: Ie9608ad0215e105ab5e5bac110e4118029fa6c15 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp
index f2d653241..04e3b1442 100644
--- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp
+++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp
@@ -136,7 +136,7 @@ class ForwardDecl;
struct FT_Service_ ## name ## Rec_
-/* removing this comment will break this test */
+
void Dialog2::func3()
{