lang: add credit to macro
This commit is contained in:
parent
3eee768ce1
commit
1e0741e600
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
use crate::lst_parser::syntax_kind::SyntaxKind::*;
|
use crate::lst_parser::syntax_kind::SyntaxKind::*;
|
||||||
use crate::SyntaxNode;
|
use crate::SyntaxNode;
|
||||||
use rowan::Language;
|
use rowan::Language;
|
||||||
|
|
||||||
|
// Heavily modified version of https://github.com/rust-analyzer/rowan/blob/e2d2e93e16c5104b136d0bc738a0d48346922200/examples/s_expressions.rs#L250-L266
|
||||||
macro_rules! ast_nodes {
|
macro_rules! ast_nodes {
|
||||||
($($ast:ident, $kind:ident);+) => {
|
($($ast:ident, $kind:ident);+) => {
|
||||||
$(
|
$(
|
||||||
|
|
Loading…
Reference in a new issue