mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
parse multiple if-then-else pairs into one AST node
This commit is contained in:
parent
5d8944fc6a
commit
3907680536
3 changed files with 85 additions and 57 deletions
|
@ -422,6 +422,7 @@ pub enum If<'a> {
|
|||
Syntax(&'a SyntaxError<'a>, Row, Col),
|
||||
|
||||
IndentCondition(Row, Col),
|
||||
IndentIf(Row, Col),
|
||||
IndentThen(Row, Col),
|
||||
IndentElse(Row, Col),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue