Treat \r as a space.
This commit is contained in:
		
							parent
							
								
									7d112a394c
								
							
						
					
					
						commit
						56b0eb81c1
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -572,6 +572,7 @@ int yylex(void) | ||||||
| 		/* handle double operators */ | 		/* handle double operators */ | ||||||
| 		case ' ': | 		case ' ': | ||||||
| 		case '\t': | 		case '\t': | ||||||
|  | 		case '\r': | ||||||
| 			cptr++; | 			cptr++; | ||||||
| 			return(yylex()); | 			return(yylex()); | ||||||
| 		case '&': | 		case '&': | ||||||
|  |  | ||||||
|  | @ -43,6 +43,7 @@ cprogram { | ||||||
| 		"./symbols.h", | 		"./symbols.h", | ||||||
| 		"./util.h", | 		"./util.h", | ||||||
| 		"./yylexp.h", | 		"./yylexp.h", | ||||||
|  | 		"./basic.lex", | ||||||
| 		"+llgen", | 		"+llgen", | ||||||
| 		"+tokentab_h", | 		"+tokentab_h", | ||||||
| 		"h+emheaders", | 		"h+emheaders", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue