(svn r10616) [NoAI] -Fix: only see a method as constructors if they do not have an other function name
--- a/src/ai/api/squirrel_export.awk Wed Jul 18 15:24:10 2007 +0000
+++ b/src/ai/api/squirrel_export.awk Wed Jul 18 15:30:34 2007 +0000
@@ -254,7 +254,7 @@
sub("\\).*", "", param_s)
funcname = $2
- if ($1 == cls) {
+ if ($1 == cls && funcname == "") {
cls_param[0] = param_s
if (param_s == "") next
} else if (funcname == "") next
@@ -278,7 +278,7 @@
}
}
- if ($1 == cls) {
+ if ($1 == cls && funcname == "") {
cls_param[1] = len;
cls_param[2] = types;
} else if (is_static) {