mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Discard newline when backslash is the last character before new-line in a string constant
This commit is contained in:
		
							parent
							
								
									580ca0e668
								
							
						
					
					
						commit
						91f0887bdd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -346,6 +346,8 @@ static int get_delimstring(char **string, int delim, input_t *input)
 | 
				
			||||||
			c = get_quotedchar(input);
 | 
								c = get_quotedchar(input);
 | 
				
			||||||
			if (c < 0)
 | 
								if (c < 0)
 | 
				
			||||||
				return c;
 | 
									return c;
 | 
				
			||||||
 | 
								if (c == '\n')
 | 
				
			||||||
 | 
									continue;
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		default:
 | 
							default:
 | 
				
			||||||
			if (c == delim) {
 | 
								if (c == delim) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue