ruby-changes:46672
From: nobu <ko1@a...>
Date: Fri, 19 May 2017 16:34:09 +0900 (JST)
Subject: [ruby-changes:46672] nobu:r58787 (trunk): fix syntax error
nobu 2017-05-19 16:34:05 +0900 (Fri, 19 May 2017) New Revision: 58787 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58787 Log: fix syntax error Modified files: trunk/eval_error.c Index: eval_error.c =================================================================== --- eval_error.c (revision 58786) +++ eval_error.c (revision 58787) @@ -141,7 +141,7 @@ print_backtrace(const VALUE eclass, cons https://github.com/ruby/ruby/blob/trunk/eval_error.c#L141 int width = ((int)log10((double)(len > threshold ? ((len - 1) / threshold) : len - 1)) + - (len < ? 0 : 9) + 1); + (len < threshold ? 0 : 9) + 1); #define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5) #define TRACE_HEAD 8 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/