diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-09 21:56:59 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-09 21:56:59 +0000 |
commit | 4b731d3bc973dae866211d6f6f9574300718cfe7 (patch) | |
tree | 063cc846674c1d5b23e0badcea50a33264e033a0 | |
parent | 3b6f1b9b898ce638ffb1dfb8c492fa6e93c85ee3 (diff) | |
download | ruby-4b731d3bc973dae866211d6f6f9574300718cfe7.tar.gz |
* eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't
allow any lines (even if they're empty) within variable
declaretions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sat Jun 10 06:53:22 2006 NAKAMURA Usaku <usa@ruby-lang.org> + + * eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't + allow any lines (even if they're empty) within variable + declaretions. + Fri Jun 9 09:56:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * sprintf.c (rb_str_format): allow %c to print one character @@ -2146,7 +2146,7 @@ copy_node_scope(NODE *node, NODE *rval) # define TMP_ALLOC(n) ALLOCA_N(VALUE,n) #endif -#define CALLARGS int argc; VALUE *argv; struct BLOCK *block = 0, _block; +#define CALLARGS int argc; VALUE *argv; struct BLOCK *block = 0, _block #define SETUP_ARGS0(anode,extra) do {\ NODE *n = anode, *bpass = 0;\ if (n && nd_type(n) == NODE_BLOCK_PASS) {\ |