Allow optional trailing comma in 'select'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This commit is contained in:
parent
fd92a31674
commit
aeb1fc2bb5
4 changed files with 1347 additions and 1215 deletions
|
|
@ -33,6 +33,31 @@ foo = select(release_variable("RELEASE_TEST"), {
|
|||
(default))
|
||||
(unset))))))
|
||||
|
||||
================================================================================
|
||||
Select (no trailing comma)
|
||||
================================================================================
|
||||
|
||||
foo = select(release_variable("RELEASE_TEST"), {
|
||||
default: unset
|
||||
})
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(source_file
|
||||
(assignment
|
||||
(identifier)
|
||||
(operator)
|
||||
(select_expression
|
||||
(select_value
|
||||
(condition
|
||||
(identifier)
|
||||
(interpreted_string_literal)))
|
||||
(select_cases
|
||||
(select_case
|
||||
(select_pattern
|
||||
(default))
|
||||
(unset))))))
|
||||
|
||||
================================================================================
|
||||
Select (soong config variable)
|
||||
================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue