1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2006-06-09 21:56:59 +00:00
parent 3b6f1b9b89
commit 4b731d3bc9
2 changed files with 7 additions and 1 deletions

View file

@ -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

2
eval.c
View file

@ -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) {\