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 e0aa749e1b
commit 9049b4f4b9
6 changed files with 16 additions and 7 deletions

View file

@ -21,6 +21,7 @@ foo = select(release_variable("RELEASE_TEST"), {
(interpreted_string_literal)
(interpreted_string_literal))
(default_case
(default)
(unset)))))
================================================================================
@ -131,6 +132,7 @@ foo = select(variant("VARIANT"), {
(interpreted_string_literal))
(ERROR
(default_case
(default)
(unset)))
(select_case
(interpreted_string_literal)
@ -162,6 +164,7 @@ foo = select(variant(), {
(interpreted_string_literal)
(unset))
(default_case
(default)
(interpreted_string_literal)))))
================================================================================
@ -183,7 +186,8 @@ foo = select(some_unknown_type("CONDITION"), {
(identifier)
(identifier)
(interpreted_string_literal)
(interpreted_string_literal))
(interpreted_string_literal)
(default))
(interpreted_string_literal))
(ERROR))