From 66260f8e386f7a447352bd8ccbda064b00b698bc Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 13 Aug 2019 23:44:52 +0200 Subject: Implement inline headers parsing --- dhall_syntax/src/core/expr.rs | 17 +++++++---- dhall_syntax/src/core/import.rs | 62 ++++++++++++++++++++++++++++++++-------- dhall_syntax/src/core/visitor.rs | 4 +-- dhall_syntax/src/parser.rs | 28 +++++++++--------- dhall_syntax/src/printer.rs | 13 ++------- 5 files changed, 80 insertions(+), 44 deletions(-) (limited to 'dhall_syntax') diff --git a/dhall_syntax/src/core/expr.rs b/dhall_syntax/src/core/expr.rs index 9729efb..30ac4eb 100644 --- a/dhall_syntax/src/core/expr.rs +++ b/dhall_syntax/src/core/expr.rs @@ -258,7 +258,7 @@ pub enum ExprF { /// `e.{ x, y, z }` Projection(SubExpr, DupTreeSet