From c1c21e3ae53ffdbc639fa950093baa60e710e022 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Mon, 4 Mar 2019 18:26:28 +0100 Subject: Make some annotations optional in AST --- dhall/src/grammar_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall/src/grammar_util.rs') diff --git a/dhall/src/grammar_util.rs b/dhall/src/grammar_util.rs index 2250acd..c185632 100644 --- a/dhall/src/grammar_util.rs +++ b/dhall/src/grammar_util.rs @@ -3,5 +3,5 @@ use crate::core::{Expr, X}; pub type ParsedExpr<'i> = Expr<'i, X, X>; // FIXME Parse paths and replace the second X with Path pub type BoxExpr<'i> = Box>; pub type ExprOpFn<'i> = fn(BoxExpr<'i>, BoxExpr<'i>) -> ParsedExpr<'i>; -pub type ExprListFn<'i> = fn(BoxExpr<'i>, Vec>) -> ParsedExpr<'i>; +pub type ExprListFn<'i> = fn(Option>, Vec>) -> ParsedExpr<'i>; -- cgit v1.2.3