aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--eval.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c93ba15fe8..7beebff4ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/eval.c b/eval.c
index 99c70411a1..e3a240eda1 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) {\