qt5base-lts/util
Alexandru Croitor a2e0f19b61 Make debug token output actually work for the pro2cmake qmake parser
setName() and setDebug() need to be called on a parser element before
the parser element is used as a sub-element in another parser element,
otherwise the debug output is not shown.

Hence the "iterate over all locals" approach works only partially.
Instead add a new decorating function add_element() for the
construction of each parser element, and make sure to enable debugging
inside that function.

Unfortunately there is no clean way to avoid duplicating the parser
element name both in the local variable and in the function argument.

Change-Id: Iaa9ed9b7dbb22ec084070b9c049cf51c841d442c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-05-23 14:19:11 +00:00
..
accessibilityinspector Updated license headers 2016-01-21 18:55:18 +00:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
cmake Make debug token output actually work for the pro2cmake qmake parser 2019-05-23 14:19:11 +00:00
corelib/qurl-generateTLDs Clean up and document the generator for qurltld_p.h 2019-03-19 17:52:09 +00:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
gradientgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
harfbuzz Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
local_database Fix can not -> cannot 2019-02-25 13:03:45 +00:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
unicode Replace Q_DECL_NOTHROW with noexcept the remaining places 2019-04-09 14:48:42 +00:00
x86simdgen SIMD: Change the way we declare constants for x86 2018-07-09 00:18:30 +00:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00