summaryrefslogtreecommitdiff
path: root/dhall_core
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_core')
-rw-r--r--dhall_core/src/parser.rs2
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),