ruby-changes:26601
From: nobu <ko1@a...>
Date: Sat, 29 Dec 2012 21:24:04 +0900 (JST)
Subject: [ruby-changes:26601] nobu:r38652 (trunk): compile.c: no semicolon
nobu 2012-12-29 21:21:58 +0900 (Sat, 29 Dec 2012) New Revision: 38652 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38652 Log: compile.c: no semicolon * compile.c (ADD_TRACE): putting a semicolon at the last of a macro let do/while make no sense. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 38651) +++ compile.c (revision 38652) @@ -230,7 +230,7 @@ r_value(VALUE value) https://github.com/ruby/ruby/blob/trunk/compile.c#L230 if (iseq->compile_data->option->trace_instruction) { \ ADD_INSN1((seq), (line), trace, INT2FIX(event)); \ } \ - }while(0); + } while (0) /* add label */ #define ADD_LABEL(seq, label) \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/