summaryrefslogtreecommitdiff
path: root/dhall_core
diff options
context:
space:
mode:
authorNadrieril2019-03-23 20:50:25 +0100
committerNadrieril2019-03-23 20:50:25 +0100
commit5531610efbfb1fd80ccf309148dc423a8e46745f (patch)
tree7f1b2f578a090a5e90e891d1f400ee03d354cca7 /dhall_core
parent644659c37cb44429fe64fa1cbcb50068ecb77480 (diff)
Inline various rules in grammar
Diffstat (limited to 'dhall_core')
-rw-r--r--dhall_core/src/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs
index b4c1df4..4614673 100644
--- a/dhall_core/src/parser.rs
+++ b/dhall_core/src/parser.rs
@@ -467,7 +467,7 @@ make_parser! {
rule_group!(expression<ParsedExpr>);
- rule!(Text_raw<()>; captured_str!(_) => ());
+ rule!(Text<()>; captured_str!(_) => ());
rule!(import_raw<ParsedExpr> as expression; children!(
[import_hashed_raw((location, hash))] => {
@@ -477,7 +477,7 @@ make_parser! {
location,
}))
},
- [import_hashed_raw((location, hash)), Text_raw(_)] => {
+ [import_hashed_raw((location, hash)), Text(_)] => {
bx(Expr::Embed(Import {
mode: ImportMode::RawText,
hash,