[parser] Integration test of parsing a single Sym!
This commit is contained in:
parent
9a728c9489
commit
d312c41dc7
2 changed files with 24 additions and 1 deletions
|
@ -20,7 +20,7 @@ use program_parser::ProgramParser;
|
|||
/// The output of calling `parse()` on a Parser is one of these Result objects.
|
||||
pub type Result = std::result::Result<Obj, ParseError>;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub enum ParseError {
|
||||
LexerError{msg: String},
|
||||
ParserError{msg: String}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue