diff options
| author | Mel <einebeere@gmail.com> | 2021-10-22 00:24:46 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2021-10-22 00:24:46 +0200 |
| commit | ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d (patch) | |
| tree | 45addff80a470ecfb381afe17e93400766618b20 /src/parse/parser.rs | |
| parent | a134a21ba621d4c5222ac91fcf4543fb8660dc0c (diff) | |
| download | rabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.tar.zst rabbithole-ce9007bd5aefc37cf7e48eefc0fab4049c8a6b7d.zip | |
Split execution modes
Diffstat (limited to 'src/parse/parser.rs')
| -rw-r--r-- | src/parse/parser.rs | 2 |
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() } |
