Skip to content

Commit 69f0e8b

Browse files
committed
Rust: add MacroStmts and MacroItems
1 parent 7986fc7 commit 69f0e8b

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

rust/ast-generator/src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,6 @@ fn main() -> std::io::Result<()> {
538538
.parse()
539539
.unwrap();
540540
let mut grammar = codegen::grammar::lower(&grammar);
541-
grammar
542-
.nodes
543-
.retain(|x| x.name != "MacroStmts" && x.name != "MacroItems");
544541

545542
grammar.enums.retain(|x| x.name != "Adt");
546543

rust/extractor/src/translate/generated.rs

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/schema/ast.py

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)