diff --git a/src/protocol/ast.rs b/src/protocol/ast.rs index 26c59a07ff48d4f95eb99cf4139b2ff262ed38cb..93833384855321f904980f02802bd594d93a4dca 100644 --- a/src/protocol/ast.rs +++ b/src/protocol/ast.rs @@ -1199,7 +1199,6 @@ impl Statement { pub struct BlockStatement { pub this: BlockStatementId, // Phase 1: parser - pub is_implicit: bool, pub span: InputSpan, // of the complete block pub statements: Vec, pub end_block: EndBlockStatementId, @@ -1394,6 +1393,8 @@ pub struct SelectStatement { pub span: InputSpan, // of the "select" keyword pub cases: Vec, pub end_select: EndSelectStatementId, + pub relative_pos_in_parent: i32, + pub next: StatementId, // note: the select statement will be transformed into other AST elements, this `next` jumps to those replacement statements } #[derive(Debug, Clone)]