diff options
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 1561230..1ecf040 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -6,7 +6,7 @@ use lexer::{Lexer, LexicalError, Tok}; pub type ParseError = lalrpop_util::ParseError<usize, Tok, LexicalError>; -fn parse_expr(s: &str) -> Result<BoxExpr, ParseError> { +pub fn parse_expr(s: &str) -> Result<BoxExpr, ParseError> { grammar::parse_Expr(Lexer::new(s)) } |