allow whitespace on empty lines
This commit is contained in:
		
							parent
							
								
									35d0704740
								
							
						
					
					
						commit
						e3998d1ff7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -25,7 +25,7 @@ fn whitespace(input: &str) -> IResult<&str, ()> { | |||
| } | ||||
| 
 | ||||
| fn empty_line(input: &str) -> IResult<&str, ()> { | ||||
|     map(tuple((opt(comment), tag("\n"))), |_| ())(input) | ||||
|     map(tuple((whitespace, opt(comment), tag("\n"))), |_| ())(input) | ||||
| } | ||||
| 
 | ||||
| pub fn take_until_any<T, Input, Error: ParseError<Input>>(tags: Vec<T>) -> impl Fn(Input) -> IResult<Input, Input, Error> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue