summaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-24 07:20:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-24 07:20:42 +0000
commit8cf97c2c39526316519ce39ec778624b9672ed2b (patch)
treedd0fc8bd441ae6ac82925bfd71fba7c955186f73 /lib/mkmf.rb
parentd8e069567b30411d6587a47bf9b1051677dba077 (diff)
downloadruby-8cf97c2c39526316519ce39ec778624b9672ed2b.tar.gz
ruby-8cf97c2c39526316519ce39ec778624b9672ed2b.tar.xz
ruby-8cf97c2c39526316519ce39ec778624b9672ed2b.zip
* eval.c (rb_eval): NODE_EVSTR is no longer used.
* eval.c (eval): not enforce to make assigned variables dynamic. * parse.y (string): split rules to strings/xstring/regexp to allow arbitrary statements inside string interpolation. * parse.y (here_document): splitted into three phases. * parse.y (literall_append, literal_concat): added. append/concatinate string literals. * sample/test.rb (valid_syntax): adjust line number for BEGIN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 723529459..a5ac544bd 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -506,11 +506,11 @@ CPPFLAGS = -I. -I$(hdrdir) -I$(srcdir) #{$defs.join(" ")} #{CONFIG["CPPFLAGS"]}
CXXFLAGS = $(CFLAGS)
#{
if /bccwin32/ =~ RUBY_PLATFORM
- "DLDFLAGS = #$LDFLAGS -L" + '"$(topdir:/=\\)"' + "\n" +
- "LDSHARED = #{CONFIG[\"LDSHARED\"]}\n"
+ "DLDFLAGS = #$LDFLAGS -L\"$(topdir:/=\\)\"\n" +
+ "LDSHARED = #{CONFIG['LDSHARED']}\n"
else
"DLDFLAGS = #{$DLDFLAGS} #{$LDFLAGS}\n" +
- "LDSHARED = #{CONFIG[\"LDSHARED\"]} #{defflag}\n"
+ "LDSHARED = #{CONFIG['LDSHARED']} #{defflag}\n"
end
}
LIBPATH = #{libpath}