diff --git a/src/protocol/ast.rs b/src/protocol/ast.rs index c9a3b7df8f7d7f790269307323008e0849b06bf0..468330bceee9955aaa86445979d345f962df61e9 100644 --- a/src/protocol/ast.rs +++ b/src/protocol/ast.rs @@ -123,7 +123,7 @@ define_new_ast_id!(FunctionDefinitionId, DefinitionId, index(FunctionDefinition, define_aliased_ast_id!(StatementId, Id, index(Statement, statements)); define_new_ast_id!(BlockStatementId, StatementId, index(BlockStatement, Statement::Block, statements), alloc(alloc_block_statement)); define_new_ast_id!(EndBlockStatementId, StatementId, index(EndBlockStatement, Statement::EndBlock, statements), alloc(alloc_end_block_statement)); -define_new_ast_id!(LocalStatementId, StatementId, index(LocalStatement, Statement::Local, statements), alloc(alloc_local_statement)); +define_new_ast_id!(LocalStatementId, StatementId, index(LocalStatement, Statement::Local, statements)); define_new_ast_id!(MemoryStatementId, LocalStatementId); define_new_ast_id!(ChannelStatementId, LocalStatementId); define_new_ast_id!(LabeledStatementId, StatementId, index(LabeledStatement, Statement::Labeled, statements), alloc(alloc_labeled_statement));