mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* parse.y (program, yycompile0): too early to drop lex_lastline in
rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									e282fc4c06
								
							
						
					
					
						commit
						b75c2a939d
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -1,3 +1,8 @@ | |||
| Sun Dec 30 21:54:26 2007  Nobuyoshi Nakada  <nobu@ruby-lang.org> | ||||
| 
 | ||||
| 	* parse.y (program, yycompile0): too early to drop lex_lastline in | ||||
| 	  rules. | ||||
| 
 | ||||
| Sun Dec 30 19:23:23 2007  NAKAMURA Usaku  <usa@ruby-lang.org> | ||||
| 
 | ||||
| 	* bootstraptest/test_knownbug.rb: support DOSISH. | ||||
|  |  | |||
							
								
								
									
										4
									
								
								parse.y
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								parse.y
									
										
									
									
									
								
							|  | @ -765,8 +765,6 @@ program		:  { | |||
| 			$$ = $2; | ||||
| 			parser->result = dispatch1(program, $$); | ||||
| 		    %*/ | ||||
| 			lex_p = lex_pbeg = lex_pend = 0; | ||||
| 			lex_lastline = lex_nextline = 0; | ||||
| 		    } | ||||
| 		; | ||||
| 
 | ||||
|  | @ -4685,6 +4683,8 @@ yycompile0(VALUE arg, int tracing) | |||
|     compile_for_eval = 0; | ||||
| 
 | ||||
|     lex_strterm = 0; | ||||
|     lex_p = lex_pbeg = lex_pend = 0; | ||||
|     lex_lastline = lex_nextline = 0; | ||||
|     if (parser->nerr) { | ||||
| 	return 0; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu