diff options
author | Nadrieril | 2019-02-27 15:27:48 +0100 |
---|---|---|
committer | Nadrieril | 2019-02-27 15:35:58 +0100 |
commit | 3118e96dfb9aebc1486886cc6659772a5e91b2e8 (patch) | |
tree | d2a64f401f552106318f2ededd7043f5aefbd92e /src/parser.rs | |
parent | 7fe85bcd1ddecf58814e35f02cab8ef652a1e9c2 (diff) |
Update dependencies
Diffstat (limited to '')
-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 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<usize, Tok<'i>, LexicalError>; pub fn parse_expr(s: &str) -> Result<BoxExpr, ParseError> { - grammar::parse_Expr(Lexer::new(s)) + grammar::ExprParser::new().parse(Lexer::new(s)) } #[test] |