diff options
author | Slávek Banko <[email protected]> | 2020-06-05 00:54:01 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-07 14:49:00 +0200 |
commit | 49614d38c9b298488b2cba15bbee48db8d7ec316 (patch) | |
tree | 155a546fe7b84d071a314dba5786cc19575ca548 /dcop/dcopidlng/kdocParseDoc.pm | |
parent | ef23612c5643909edcad8665fadd82583501a602 (diff) | |
download | tdelibs-49614d38c9b298488b2cba15bbee48db8d7ec316.tar.gz tdelibs-49614d38c9b298488b2cba15bbee48db8d7ec316.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]>
Diffstat (limited to 'dcop/dcopidlng/kdocParseDoc.pm')
-rw-r--r-- | dcop/dcopidlng/kdocParseDoc.pm | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/dcop/dcopidlng/kdocParseDoc.pm b/dcop/dcopidlng/kdocParseDoc.pm index e5f19d50c..fa34f5f30 100644 --- a/dcop/dcopidlng/kdocParseDoc.pm +++ b/dcop/dcopidlng/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; } @@ -162,10 +162,6 @@ PARSELOOP: docProp( "LibDoc" ); } else { - if ( $text =~ m#\*/# ) { - $finished = 1; - $text = $`; - } $buffer .= $text; } } |