From 5531610efbfb1fd80ccf309148dc423a8e46745f Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 23 Mar 2019 20:50:25 +0100 Subject: Inline various rules in grammar --- dhall_core/src/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dhall_core') 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); - rule!(Text_raw<()>; captured_str!(_) => ()); + rule!(Text<()>; captured_str!(_) => ()); rule!(import_raw 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, -- cgit v1.2.3