mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	eval_error.c: should not escapce newline and tab
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e608402019
								
							
						
					
					
						commit
						c6fb7c1f33
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -87,6 +87,9 @@ write_warnq(VALUE out, VALUE str, const char *ptr, long len) | |||
|         const long olen = len; | ||||
|         for (; len > 0; --len, ++ptr) { | ||||
|             unsigned char c = *ptr; | ||||
|             switch (c) { | ||||
|               case '\n': case '\t': continue; | ||||
|             } | ||||
|             if (rb_iscntrl(c)) { | ||||
|                 char buf[5]; | ||||
|                 const char *cc = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu