From ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 22 Oct 2021 00:24:46 +0200 Subject: Split execution modes --- src/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse') diff --git a/src/parse/parser.rs b/src/parse/parser.rs index 0e865da..41fd954 100644 --- a/src/parse/parser.rs +++ b/src/parse/parser.rs @@ -70,7 +70,7 @@ impl> Parser { Ok(Statement::Expression(expression)) } - fn expression(&mut self) -> Result { + pub fn expression(&mut self) -> Result { self.assignment_expression() } -- cgit 1.4.1