Add 'default' alias

This makes it appear in the tree as a named node.
This commit is contained in:
Bruno BELANYI 2024-04-09 13:08:02 +01:00
parent d297f38e6a
commit 8db7b053f5
6 changed files with 16 additions and 7 deletions

2
src/parser.c generated
View file

@ -335,7 +335,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
},
[anon_sym_default] = {
.visible = true,
.named = false,
.named = true,
},
[anon_sym_unset] = {
.visible = true,