Merge soong_config_variable into select_value
Some checks failed
ci/woodpecker/push/check Pipeline failed

It makes the parse tree easier to use, and I don't think we need to care
for the lax parsing.
This commit is contained in:
Bruno BELANYI 2024-04-14 13:11:37 +01:00
parent f283c14865
commit e9632a29ba
5 changed files with 956 additions and 1000 deletions

View file

@ -40,7 +40,7 @@ foo = select(soong_config_variable("my_namespace", "my_var"), {
(identifier)
(operator)
(select_expression
(soong_config_variable
(select_value
(selection_type)
(interpreted_string_literal)
(interpreted_string_literal))
@ -209,16 +209,14 @@ foo = select(release_variable("ONE", "TWO"), {
(select_expression
(select_value
(selection_type)
(ERROR
(interpreted_string_literal))
(interpreted_string_literal)
(interpreted_string_literal))
(select_cases
(select_case
(interpreted_string_literal)
(interpreted_string_literal))
(select_case
(default)
(interpreted_string_literal))))))
(select_case
(interpreted_string_literal)
(interpreted_string_literal))
(select_case
(default)
(interpreted_string_literal)))))
================================================================================
Select as an identifier