tokenize: consider = to be equivalent to whitespace
This commit is contained in:
		
							parent
							
								
									f9d0fbb4c3
								
							
						
					
					
						commit
						537a56414a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -23,11 +23,11 @@ lif_next_token(char **buf) | |||
| { | ||||
| 	char *out = *buf; | ||||
| 
 | ||||
| 	while (*out && isspace(*out)) | ||||
| 	while (*out && (isspace(*out) || *out == '=')) | ||||
| 		out++; | ||||
| 
 | ||||
| 	char *end = out; | ||||
| 	while (*end && !isspace(*end)) | ||||
| 	while (*end && !isspace(*end) && *out != '=') | ||||
| 		end++; | ||||
| 
 | ||||
| 	*end++ = '\0'; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue