fix comment style
This commit is contained in:
		
							parent
							
								
									4ca9e82a14
								
							
						
					
					
						commit
						bd6764450f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -322,13 +322,13 @@ static void showExc(VALUE exc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	VALUE ds = rb_sprintf("%" PRIsVALUE ": %" PRIsVALUE " (%" PRIsVALUE ")",
 | 
						VALUE ds = rb_sprintf("%" PRIsVALUE ": %" PRIsVALUE " (%" PRIsVALUE ")",
 | 
				
			||||||
	                      bt0, exc, name);
 | 
						                      bt0, exc, name);
 | 
				
			||||||
	// omit "useless" last entry (from ruby:1:in `eval')
 | 
						/* omit "useless" last entry (from ruby:1:in `eval') */
 | 
				
			||||||
	for (long i = 1, btlen = RARRAY_LEN(bt) - 1; i < btlen; ++i)
 | 
						for (long i = 1, btlen = RARRAY_LEN(bt) - 1; i < btlen; ++i)
 | 
				
			||||||
		rb_str_catf(ds, "\n\tfrom %" PRIsVALUE, rb_ary_entry(bt, i));
 | 
							rb_str_catf(ds, "\n\tfrom %" PRIsVALUE, rb_ary_entry(bt, i));
 | 
				
			||||||
	Debug() << StringValueCStr(ds);
 | 
						Debug() << StringValueCStr(ds);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ID id_index = rb_intern("index");
 | 
						ID id_index = rb_intern("index");
 | 
				
			||||||
	// an "offset" argument is not needed for the first time
 | 
						/* an "offset" argument is not needed for the first time */
 | 
				
			||||||
	VALUE argv[2] = { rb_str_new_cstr(":") };
 | 
						VALUE argv[2] = { rb_str_new_cstr(":") };
 | 
				
			||||||
	long filelen = NUM2LONG(rb_funcall2(bt0, id_index, 1, argv));
 | 
						long filelen = NUM2LONG(rb_funcall2(bt0, id_index, 1, argv));
 | 
				
			||||||
	argv[1] = LONG2NUM(filelen + 1);
 | 
						argv[1] = LONG2NUM(filelen + 1);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue