Merge pull request #1939 from dezgeg/lexer-fix
libexpr: Recognize newline in more places in lexer
This commit is contained in:
		
						commit
						64441f0551
					
				
					 5 changed files with 11 additions and 4 deletions
				
			
		
							
								
								
									
										1
									
								
								tests/lang/eval-okay-backslash-newline-1.exp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/lang/eval-okay-backslash-newline-1.exp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| "a\nb" | ||||
							
								
								
									
										2
									
								
								tests/lang/eval-okay-backslash-newline-1.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tests/lang/eval-okay-backslash-newline-1.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| "a\ | ||||
| b" | ||||
							
								
								
									
										1
									
								
								tests/lang/eval-okay-backslash-newline-2.exp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/lang/eval-okay-backslash-newline-2.exp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| "a\nb" | ||||
							
								
								
									
										2
									
								
								tests/lang/eval-okay-backslash-newline-2.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tests/lang/eval-okay-backslash-newline-2.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | |||
| ''a''\ | ||||
| b'' | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue