From 4b731d3bc973dae866211d6f6f9574300718cfe7 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 9 Jun 2006 21:56:59 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ eval.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c93ba15fe8fc0f..7beebff4ed8723 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Jun 10 06:53:22 2006 NAKAMURA Usaku + + * 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 * sprintf.c (rb_str_format): allow %c to print one character diff --git a/eval.c b/eval.c index 99c70411a17d72..e3a240eda1c633 100644 --- a/eval.c +++ b/eval.c @@ -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) {\