Skip to content

Commit

Permalink
* eval.c (CALLARGS): remove last semicolon. C90 compiler doesn't
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
unak committed Jun 9, 2006
1 parent 3b6f1b9 commit 4b731d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Sat Jun 10 06:53:22 2006 NAKAMURA Usaku <[email protected]>

* 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 <[email protected]>

* sprintf.c (rb_str_format): allow %c to print one character
Expand Down
2 changes: 1 addition & 1 deletion eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {\
Expand Down

0 comments on commit 4b731d3

Please sign in to comment.