diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 14:42:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-15 14:42:43 +0000 |
commit | 7c4306e6e9c3c4a255f4ad20134c1832dbe45ba2 (patch) | |
tree | 9dc0a268704c41c9ce7bd4fe7ce90b45321e4135 /tool/gperf.sed | |
parent | a9419fbd4fe597a9ef41621d16664a659544ed76 (diff) |
gperf.sed: static declarations
* tool/gperf.sed: comment out arguments part only, to keep the
following declarations static. [Feature #13883]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/gperf.sed')
-rw-r--r-- | tool/gperf.sed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/gperf.sed b/tool/gperf.sed index ed2196fee4..6b3e1980be 100644 --- a/tool/gperf.sed +++ b/tool/gperf.sed @@ -3,9 +3,9 @@ s/.*/ANSI:offset:/ x } -/^\/\*!ANSI\*\//{ +/\/\*!ANSI{\*\//{ G - s/^\/\*!ANSI\*\/\(.*\)\nANSI:.*/\/\*\1\*\// + s/\/\*!ANSI{\*\/\(.*\)\/\*}!ANSI\*\/\(.*\)\nANSI:.*/\/\*\1\*\/\2/ } s/(int)([a-z_]*)&((struct \([a-zA-Z_0-9][a-zA-Z_0-9]*\)_t *\*)0)->\1_str\([1-9][0-9]*\),/gperf_offsetof(\1, \2),/g /^#line/{ |