diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-25 07:08:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-25 07:08:47 +0000 |
commit | 57657a0b9bf558477d5e9c1a3f4a3b89cd5006d1 (patch) | |
tree | d4611dec1b17df8e6a9c5c8b781de6e09da5a15d /enc/depend | |
parent | 6f24054f6e529efb2d825d7aef03588692d1effc (diff) | |
download | ruby-57657a0b9bf558477d5e9c1a3f4a3b89cd5006d1.tar.gz |
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/depend')
-rw-r--r-- | enc/depend | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/enc/depend b/enc/depend index fb6bb57de5..ca6085dad9 100644 --- a/enc/depend +++ b/enc/depend @@ -38,7 +38,7 @@ % cleanobjs << "$*.def" if deffile % rule_subst = CONFIG["RULE_SUBST"] || "%s" % transvpath = rule_subst.dup.sub!(/\{[^{}]+\}/, '$(TRANSVPATH)/') || "enc/trans/%s" -% transvpath_prefix = (rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "") % "" +% transvpath_prefix = rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "" % if File::ALT_SEPARATOR % pathrep = proc {|path| path.gsub('/', File::ALT_SEPARATOR).gsub(/\$\(([@<?*]\w?|\w+)\)/, "$(\\1:/=\\#{File::ALT_SEPARATOR})")} % else @@ -99,7 +99,7 @@ $(TRANSOBJS): ruby.h intern.h config.h defines.h missing.h encoding.h oniguruma. <%=transvpath % "#{e}.c"%>: <%= transvpath % "#{e}.trans"%> % src = [*IO.read(File.join($srcdir, "trans", src)).scan(/^\s*require\s+[\'\"]([^\'\"]*)/).flatten.map{|c|c+".rb"}] -<%=transvpath % "#{e}.c"%>: <%= src.map {|e| transvpath % "#{e}"}.join(" ")%> $(srcdir)/tool/transcode-tblgen.rb +<%=transvpath % "#{e}.c"%>: <%= src.map {|s| transvpath % "#{s}"}.join(" ")%> $(srcdir)/tool/transcode-tblgen.rb % end % end @@ -150,8 +150,8 @@ clean: $(Q)$(RM) enc/unicode/name2ctype.h -$(Q)$(RMDIR) enc/unicode<%=@ignore_error%> % end -% workdirs.reverse_each do|dir| - -$(Q)$(RMDIR) <%=pathrep[dir]%><%=@ignore_error%> +% workdirs.reverse_each do|d| + -$(Q)$(RMDIR) <%=pathrep[d]%><%=@ignore_error%> % end clean-srcs: |