add error handling

This commit is contained in:
elkowar 2021-07-16 14:45:37 +02:00
parent c5643424ca
commit 3bb2e6516e
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
2 changed files with 26 additions and 24 deletions

View file

@ -1,4 +1,5 @@
pub mod ast; pub mod ast;
pub mod dynval;
pub mod error; pub mod error;
mod lalrpop_helpers; mod lalrpop_helpers;
mod lexer; mod lexer;

View file

@ -35,6 +35,7 @@ extern {
"[" => Token::LBrack, "[" => Token::LBrack,
"]" => Token::RBrack, "]" => Token::RBrack,
"." => Token::Dot, "." => Token::Dot,
"true" => Token::True, "true" => Token::True,
"false" => Token::False, "false" => Token::False,