* scripts/classes.pl (scan): Skip lines with leading `*'.
Fix for PR libgcj/378.
From-SVN: r38198
+2000-12-11 Tom Tromey <tromey@redhat.com>
+
+ * scripts/classes.pl (scan): Skip lines with leading `*'.
+ Fix for PR libgcj/378.
+
2000-12-11 Bryce McKinlay <bryce@albatross.co.nz>
* configure.in: Remove check for -fuse-divide-subroutine.
local ($outer, $classname);
while (<FILE>)
{
- # NOTE: we don't skip `/*' comments.
s,//.*$,,;
+ # NOTE: we don't skip `/*' comments. However, we do
+ # skip lines with a `*' with leading whitespace. This
+ # catches the most important cases.
+ s,^\s*\*.*$,,;
+
# For now assume that class names start with upper
# case letter.
next unless /\b(class|interface) ([A-Z][A-Za-z0-9]+)/;