From 3118e96dfb9aebc1486886cc6659772a5e91b2e8 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Wed, 27 Feb 2019 15:27:48 +0100 Subject: Update dependencies --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.rs') diff --git a/src/parser.rs b/src/parser.rs index 945d150..3ad7ffc 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -7,7 +7,7 @@ use lexer::{Lexer, LexicalError, Tok}; pub type ParseError<'i> = lalrpop_util::ParseError, LexicalError>; pub fn parse_expr(s: &str) -> Result { - grammar::parse_Expr(Lexer::new(s)) + grammar::ExprParser::new().parse(Lexer::new(s)) } #[test] -- cgit v1.2.3