improved for EOF handling
This commit is contained in:
		
							parent
							
								
									b6c29b5541
								
							
						
					
					
						commit
						cde3638bc9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -23,6 +23,7 @@ s/.*{\(.*\),.*\(".*"\).*$/	case \1 :\
 | 
			
		|||
 | 
			
		||||
cat <<'--EOT--'
 | 
			
		||||
	default:
 | 
			
		||||
		if (tok <= 0) return "end of file";
 | 
			
		||||
		if (tok < 040 || tok >= 0177) {
 | 
			
		||||
			return "bad token";
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue