aboutsummaryrefslogtreecommitdiffstats
path: root/extractInterface.pl
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-07-18 08:34:04 +0000
committerManolo Carrasco <manolo@apache.org>2010-07-18 08:34:04 +0000
commit4554ca17fb13a32d855abce34aa350ba5f429949 (patch)
treed49575421519400ceff0728eeb54a1629218e77e /extractInterface.pl
parent2009570e936eb6888cde30f702035e3954de2711 (diff)
downloadgwtquery-4554ca17fb13a32d855abce34aa350ba5f429949.tar.gz
gwtquery-4554ca17fb13a32d855abce34aa350ba5f429949.zip
Script to generate code of lazyInterfaces was removing some valid lines in javadocs
Diffstat (limited to 'extractInterface.pl')
-rw-r--r--extractInterface.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extractInterface.pl b/extractInterface.pl
index eeb4fed1..e4dad07c 100644
--- a/extractInterface.pl
+++ b/extractInterface.pl
@@ -31,7 +31,7 @@ while(<F>) {
s/^(\*.*)$/ $1/g;
$inh = 0 if (/^\/\*\*/);
$head .= $_ if ($inh);
- $inclass=1 if ($ingq && m/(^|\s+|\()(class|enum|new) /);
+ $inclass=1 if (!$in && $ingq && m/(^|\s+|\()(class|enum|new) /);
if ($ingq && !$inclass) {
$in = 1 if (/^\/\**\s*$/);
$com = "" if (/^\/\**\s*$/);