diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-18 02:38:19 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-18 02:38:19 +0200 |
commit | ee9b1e7dc5f8db9bb39ce95a8daf129efff39b53 (patch) | |
tree | 1e65ae9bbdf17546d8c290d2384d45abe8be95c0 /kalyptus/kdocAstUtil.pm | |
parent | 256d241873a67c99d66c3ff52a64858678462a50 (diff) | |
download | tdebindings-ee9b1e7dc5f8db9bb39ce95a8daf129efff39b53.tar.gz tdebindings-ee9b1e7dc5f8db9bb39ce95a8daf129efff39b53.zip |
Merge fixes for kalyptus that were made in tdelibs/dcopidlng:
+ 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
+ do not skip an empty class if it is declared with K_DCOP
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kalyptus/kdocAstUtil.pm')
-rw-r--r-- | kalyptus/kdocAstUtil.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kalyptus/kdocAstUtil.pm b/kalyptus/kdocAstUtil.pm index ec3e8fb5..4684a5da 100644 --- a/kalyptus/kdocAstUtil.pm +++ b/kalyptus/kdocAstUtil.pm @@ -361,10 +361,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 { |