WIP: allow using nff as a diagnostics source #1
					 1 changed files with 3 additions and 2 deletions
				
			
		parser: improve handling of vmap exprs to allow further comparisons
				commit
				
					
					
						16586e9927
					
				
			
		|  | @ -509,10 +509,11 @@ impl Parser { | |||
|                         self.consume(TokenKind::RightBrace, "Expected '}' to close vmap")?; | ||||
| 
 | ||||
|                         // Return a vmap expression with the previous expression as the mapping target
 | ||||
|                         return Ok(Expression::Vmap { | ||||
|                         expr = Expression::Vmap { | ||||
|                             expr: Some(Box::new(expr)), | ||||
|                             map, | ||||
|                         }); | ||||
|                         }; | ||||
|                         continue; // allow the outer `while` to detect ==, != … afterwards
 | ||||
|                     } | ||||
|                     break; | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue