ruby-changes:53257
From: naruse <ko1@a...>
Date: Wed, 31 Oct 2018 20:08:14 +0900 (JST)
Subject: [ruby-changes:53257] naruse:r65472 (trunk): Use C90 comments
naruse 2018-10-31 20:08:07 +0900 (Wed, 31 Oct 2018) New Revision: 65472 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65472 Log: Use C90 comments Modified files: trunk/addr2line.c Index: addr2line.c =================================================================== --- addr2line.c (revision 65471) +++ addr2line.c (revision 65472) @@ -1519,10 +1519,10 @@ debug_info_read(DebugInfoReader *reader, https://github.com/ruby/ruby/blob/trunk/addr2line.c#L1519 /* enumerate abbrev */ for (;;) { DebugInfoValue v = {{}}; - //ptrdiff_t pos = reader->p - reader->p0; + /* ptrdiff_t pos = reader->p - reader->p0; */ if (!di_read_record(reader, &v)) break; - //fprintf(stderr,"\n%d:%tx: AT:%lx FORM:%lx\n",__LINE__,pos,v.at,v.form); - //div_inspect(&v); + /* fprintf(stderr,"\n%d:%tx: AT:%lx FORM:%lx\n",__LINE__,pos,v.at,v.form); */ + /* div_inspect(&v); */ switch (v.at) { case DW_AT_name: line.sname = get_cstr_value(&v); @@ -1542,10 +1542,10 @@ debug_info_read(DebugInfoReader *reader, https://github.com/ruby/ruby/blob/trunk/addr2line.c#L1542 goto skip_die; case DW_AT_inline: /* 1 or 3 */ - break; // goto skip_die; + break; /* goto skip_die; */ case DW_AT_abstract_origin: read_abstract_origin(reader, v.as.uint64, &line); - break; //goto skip_die; + break; /* goto skip_die; */ } } /* ranges_inspect(reader, &ranges); */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/