about summary refs log tree commit diff
path: root/src/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/parser.rs')
-rw-r--r--src/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
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<T: Iterator<Item = Token>> Parser<T> {
         Ok(Statement::Expression(expression))
     }
 
-    fn expression(&mut self) -> Result<Expression> {
+    pub fn expression(&mut self) -> Result<Expression> {
         self.assignment_expression()
     }