From 9ad9d72c4ae6fb28e7381bbd50ddeb2502b7d925 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 26 May 2012 14:16:27 +0000 Subject: (svn r24288) -Fix: squirrel_export should match stuff like 'virtual', 'static' and 'const' only as whole words. --- src/script/api/squirrel_export.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2