mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Use indentation tracking and unexpected_any for ident problems
This commit is contained in:
parent
b3f3f08c96
commit
530a50be14
4 changed files with 122 additions and 94 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum Expr {
|
||||
// Literals
|
||||
Int(i64),
|
||||
|
@ -16,7 +16,6 @@ pub enum Expr {
|
|||
Operator(Box<Expr>, Operator, Box<Expr>),
|
||||
|
||||
If(Box<Expr>, Box<Expr>, Box<Expr>),
|
||||
SyntaxProblem(String),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue