summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/sizes.c.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl
index 045e69ee71..146e209db7 100644
--- a/template/sizes.c.tmpl
+++ b/template/sizes.c.tmpl
@@ -7,7 +7,7 @@ class String
end
end
types = ARGF.grep(/^\s*RUBY_CHECK_SIZEOF\((\w[^\[\],#]*)[^#]*\)|
- ^\s*check_sizeof\('(\w+)'/x) {$+}
+ ^\s*check_sizeof\('(.+?)'/x) {$+}
conditions = {
"long long" => 'defined(HAVE_TRUE_LONG_LONG)',
}