summaryrefslogtreecommitdiffstats
path: root/dcop/dcopidlng/kdocAstUtil.pm
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-05 00:54:01 +0200
committerSlávek Banko <[email protected]>2020-06-07 14:52:03 +0200
commit1dfd3ebadf0ede670ec9314067235f2db1e2fcea (patch)
treecdc8addaf353ac5ce4c273bbe15efbe8b8b5ab5e /dcop/dcopidlng/kdocAstUtil.pm
parent212ab7826573121f5b0152abfde057161d836a56 (diff)
downloadtdelibs-1dfd3ebadf0ede670ec9314067235f2db1e2fcea.tar.gz
tdelibs-1dfd3ebadf0ede670ec9314067235f2db1e2fcea.zip
dcopidlng fixes:
+ includes may use quotation marks + argument types can contain multiple words + avoid use long, short, int or char type as the argument name + avoid use type as the argument name if the const qualifier is used + use long notation of int types + the arguments can be nameless + return types can have qualifiers + do not warn on inherit of the DCOPObject and TQObject classes + the documentation comment does not have to end on a separate line Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 49614d38c9b298488b2cba15bbee48db8d7ec316)
Diffstat (limited to 'dcop/dcopidlng/kdocAstUtil.pm')
-rw-r--r--dcop/dcopidlng/kdocAstUtil.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/dcop/dcopidlng/kdocAstUtil.pm b/dcop/dcopidlng/kdocAstUtil.pm
index f31f2b365..6abb59a25 100644
--- a/dcop/dcopidlng/kdocAstUtil.pm
+++ b/dcop/dcopidlng/kdocAstUtil.pm
@@ -152,10 +152,12 @@ ANITER:
if( !defined $ref ) {
# ancestor undefined
- warn "warning: ", $node->{astNodeName},
- " inherits unknown class '",
+ if( $in->{astNodeName} ne "DCOPObject"
+ && $in->{astNodeName} ne "TQObject" ) {
+ warn "warning: ", $node->{astNodeName},
+ " inherits unknown class '",
$in->{astNodeName},"'\n";
-
+ }
$parent->AddPropList( 'InBy', $node );
}
else {