summaryrefslogtreecommitdiff
path: root/tool/ytab.sed
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-13 15:15:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-13 15:15:39 +0000
commitc4af7f51b7c703cfdf4a84f633af6b892b5d14a8 (patch)
tree772060ae20c30552caa590bdebdea41a29a96cab /tool/ytab.sed
parent19c0ede6fc6d148af85e2f5191a63da65b2e3feb (diff)
* tool/ytab.sed: get rid of GNU sed feature. a patch from Laurent
Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ytab.sed')
-rwxr-xr-xtool/ytab.sed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ytab.sed b/tool/ytab.sed
index 4bb1c31..d75367a 100755
--- a/tool/ytab.sed
+++ b/tool/ytab.sed
@@ -5,6 +5,6 @@ i\
a\
#endif
}
-s/\<\(yyerror[ ]*([ ]*parser,\)/parser_\1/
+s/^[ ]*\(yyerror[ ]*([ ]*parser,\)/parser_\1/
s!^ *extern char \*getenv();!/* & */!
s/^\(#.*\)".*\.tab\.c"/\1"parse.c"/