summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/api/squirrel_export.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/squirrel_export.awk b/src/script/api/squirrel_export.awk
index 7fcb5336a..c397d1da6 100644
--- a/src/script/api/squirrel_export.awk
+++ b/src/script/api/squirrel_export.awk
@@ -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)