(svn r24288) -Fix: squirrel_export should match stuff like 'virtual', 'static' and 'const' only as whole words.

This commit is contained in:
frosch 2012-05-26 14:16:27 +00:00
parent ec91dc5ffc
commit 9ad9d72c4a

View File

@ -492,9 +492,9 @@ BEGIN {
if (match($0, "virtual")) {
virtual_class = "true"
}
gsub("virtual", "", $0)
gsub("static", "", $0)
gsub("const", "", $0)
gsub("\\yvirtual\\y", "", $0)
gsub("\\ystatic\\y", "", $0)
gsub("\\yconst\\y", "", $0)
gsub("{.*", "", $0)
param_s = $0
gsub("\\*", "", $0)