summaryrefslogtreecommitdiff
path: root/dhall_syntax/src
diff options
context:
space:
mode:
authorNadrieril2019-09-10 14:28:00 +0200
committerNadrieril2019-09-10 14:28:00 +0200
commit88ec764ae1fed4481b9f745735be0ddf43b8f516 (patch)
tree59ca040a65a0ae331006e967541315eed74a3678 /dhall_syntax/src
parent9f3ada020ee7af61b80be24c0fb2f9a0b0a5a0bd (diff)
Add dummy `entrypoint` attribute
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index 15515f0..a83b8d0 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -154,6 +154,7 @@ struct Parsers;
#[make_parser(Rule)]
impl Parsers {
+ #[entrypoint]
fn entrypoint<E: Clone>(input_str: &str) -> ParseResult<Expr<E>> {
let pairs = DhallParser::parse(Rule::final_expression, input_str)?;
let rc_input_str = input_str.to_string().into();