summaryrefslogtreecommitdiffstats
path: root/lib/cppparser
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-01 18:49:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-02 10:31:47 +0900
commit6285cdbd24b69a77f76dbc1dc24a0dde3031a459 (patch)
treeacfe7b3ce0f37c0e5bebd11ff24f5845a8445a2d /lib/cppparser
parent98195ec8218519737d5f6e88ee9598d71fcbf8fa (diff)
downloadtdevelop-6285cdbd24b69a77f76dbc1dc24a0dde3031a459.tar.gz
tdevelop-6285cdbd24b69a77f76dbc1dc24a0dde3031a459.zip
cppparser: mark TQ_INLINE_TEMPLATES as historical keywordHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/cppparser')
-rw-r--r--lib/cppparser/driver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cppparser/driver.cpp b/lib/cppparser/driver.cpp
index 26a4d47e..aec21887 100644
--- a/lib/cppparser/driver.cpp
+++ b/lib/cppparser/driver.cpp
@@ -606,7 +606,6 @@ void Driver::setupLexer( Lexer * lexer ) {
lexer->addSkipWord( "Q_UNUSED", SkipWordAndArguments );
lexer->addSkipWord( "TQ_CREATE_INSTANCE", SkipWordAndArguments );
lexer->addSkipWord( "ACTIVATE_SIGNAL_WITH_PARAM", SkipWordAndArguments );
- lexer->addSkipWord( "TQ_INLINE_TEMPLATES" );
lexer->addSkipWord( "TQ_TEMPLATE_EXTERN" );
lexer->addSkipWord( "TQ_TYPENAME" );
lexer->addSkipWord( "TQ_REFCOUNT" );
@@ -619,6 +618,9 @@ void Driver::setupLexer( Lexer * lexer ) {
lexer->addSkipWord( "TQ_DECLARE_FLAGS", SkipWordAndArguments );
lexer->addSkipWord( "TQ_DECLARE_OPERATORS_FOR_FLAGS", SkipWordAndArguments );
+ // historical
+ lexer->addSkipWord( "TQ_INLINE_TEMPLATES" );
+
// flex
lexer->addSkipWord( "yyconst" );
lexer->addSkipWord( "YY_RULE_SETUP" );