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 11:52:50 +0200 |
commit | 77fa51a9a82aee3db97a70e0f2cd99af4c58ce3e (patch) | |
tree | f6758d82896ca0c626441904d5cf37f0e64a6b47 /kalyptus/kdocParseDoc.pm | |
parent | 1dacdcfb27b64bb029aa1deaba7d3e22fea58377 (diff) | |
download | tdebindings-77fa51a9a82aee3db97a70e0f2cd99af4c58ce3e.tar.gz tdebindings-77fa51a9a82aee3db97a70e0f2cd99af4c58ce3e.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>
(cherry picked from commit ee9b1e7dc5f8db9bb39ce95a8daf129efff39b53)
Diffstat (limited to 'kalyptus/kdocParseDoc.pm')
-rw-r--r-- | kalyptus/kdocParseDoc.pm | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kalyptus/kdocParseDoc.pm b/kalyptus/kdocParseDoc.pm index f28b4e56..befa8c5e 100644 --- a/kalyptus/kdocParseDoc.pm +++ b/kalyptus/kdocParseDoc.pm @@ -60,15 +60,15 @@ PARSELOOP: next if !defined $text; $text =~ s#^\s*\*(?!\/)##; + if ( $text =~ m#\*/# ) { + $finished = 1; + $text = $`; + } # if ( $text =~ /^\s*<\/pre>/i ) { # flushProp(); # $inbounded = 0; # } if( $inbounded ) { - if ( $text =~ m#\*/# ) { - $finished = 1; - $text = $`; - } $buffer .= $text; next PARSELOOP; } @@ -165,10 +165,6 @@ PARSELOOP: docProp( "LibDoc" ); } else { - if ( $text =~ m#\*/# ) { - $finished = 1; - $text = $`; - } $buffer .= $text; } } |