aboutsummaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
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()
}