about summary refs log tree commit diff
path: root/src/parse
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2021-10-22 00:24:46 +0200
committerMel <einebeere@gmail.com>2021-10-22 00:24:46 +0200
commitce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d (patch)
tree45addff80a470ecfb381afe17e93400766618b20 /src/parse
parenta134a21ba621d4c5222ac91fcf4543fb8660dc0c (diff)
downloadrabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.tar.zst
rabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.zip
Split execution modes
Diffstat (limited to 'src/parse')
-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()
     }