From 21d713ece3cb0801c6edf36b6bb749510b19df80 Mon Sep 17 00:00:00 2001 From: rvcas Date: Tue, 7 Jun 2022 22:02:20 -0400 Subject: [PATCH] feat: change term parsing order --- crates/uplc/src/parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/uplc/src/parser.rs b/crates/uplc/src/parser.rs index 68c725d5..1fa7cc98 100644 --- a/crates/uplc/src/parser.rs +++ b/crates/uplc/src/parser.rs @@ -102,14 +102,14 @@ where { opaque!(no_partial( choice(( + attempt(constant()), + attempt(builtin()), attempt(var()), - attempt(delay()), attempt(lambda()), attempt(apply()), - attempt(constant()), + attempt(delay()), attempt(force()), attempt(error()), - attempt(builtin()), )) .skip(spaces()) ))