author | truelight |
Thu, 12 Apr 2007 14:35:24 +0000 | |
branch | noai |
changeset 9587 | b0716d4c0128 |
parent 9586 | 656646f23da7 |
child 9588 | 01b2435c977b |
--- a/src/ai/api/squirrel_export.awk Thu Apr 12 14:29:15 2007 +0000 +++ b/src/ai/api/squirrel_export.awk Thu Apr 12 14:35:24 2007 +0000 @@ -35,6 +35,8 @@ { print $0; } +# Ignore forward declarations of classes +/^( *)class(.*);/ { next; } # We only want to have public functions exported for now /^( *)class/ { if (cls_level == 0) { @@ -211,7 +213,7 @@ } # Add a method to the list -/^.*$/ { +/^.*\(.*\).*$/ { if (cls_level != 1) next is_static = match($0, "static")