* 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:
parent
3b6f1b9b89
commit
4b731d3bc9
@ -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>
|
Fri Jun 9 09:56:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* sprintf.c (rb_str_format): allow %c to print one character
|
* sprintf.c (rb_str_format): allow %c to print one character
|
||||||
|
2
eval.c
2
eval.c
@ -2146,7 +2146,7 @@ copy_node_scope(NODE *node, NODE *rval)
|
|||||||
# define TMP_ALLOC(n) ALLOCA_N(VALUE,n)
|
# define TMP_ALLOC(n) ALLOCA_N(VALUE,n)
|
||||||
#endif
|
#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 {\
|
#define SETUP_ARGS0(anode,extra) do {\
|
||||||
NODE *n = anode, *bpass = 0;\
|
NODE *n = anode, *bpass = 0;\
|
||||||
if (n && nd_type(n) == NODE_BLOCK_PASS) {\
|
if (n && nd_type(n) == NODE_BLOCK_PASS) {\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user