Error messages are printed differently now. A '%' in an error message
used to cause difficulties.
This commit is contained in:
		
							parent
							
								
									c19358ee50
								
							
						
					
					
						commit
						aac1207beb
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -413,7 +413,11 @@ LLmessage(d) {
 | 
			
		|||
		s = cpy(LLsymb,s,0);
 | 
			
		||||
		*s = '\0';
 | 
			
		||||
	}
 | 
			
		||||
	error(linecount,buf);
 | 
			
		||||
	error(linecount, "%s", buf);
 | 
			
		||||
			/* Don't change this line to 
 | 
			
		||||
			 * error(linecount, buf).
 | 
			
		||||
			 * The string in "buf" might contain '%' ...
 | 
			
		||||
			 */
 | 
			
		||||
	if (d) {	/*
 | 
			
		||||
			 * Save the current token and make up some
 | 
			
		||||
			 * attributes for the inserted token
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue