diff options
author | Nadrieril | 2019-04-04 20:07:51 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-04 20:24:59 +0200 |
commit | e05299d3d84dcbba79887f1dc5b42d689b714edc (patch) | |
tree | 91b0d136c0a9289855371eb8d5d0427f92ca0b03 /dhall_core | |
parent | 2ef0951c45e3c9c87990ab7e334059aa9b21f540 (diff) |
Factor literal-expression back in
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index 55fb177..0f6978d 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -742,7 +742,7 @@ make_parser! { [label(ls)..] => ls.collect(), )); - rule!(literal_expression<ParsedExpr> as expression; children!( + rule!(primitive_expression<ParsedExpr> as expression; children!( [double_literal(n)] => Expr::DoubleLit(n), [natural_literal(n)] => Expr::NaturalLit(n), [integer_literal(n)] => Expr::IntegerLit(n), |