Simplify variable values in grammars
Now that variable identifers are able to be used as conditional expressions, we can just specify that variable expressions in the grammar are looking for a conditional expression as the name of the variable.
This commit is contained in:
parent
83665a1706
commit
983f480532
@ -134,7 +134,7 @@ block_parameter_value_only
|
||||
|
||||
variable_expression
|
||||
=
|
||||
variable_open type:`variable` name:( conditional_expression | variable_identifier ) variable_close
|
||||
variable_open type:`variable` name:conditional_expression variable_close
|
||||
;
|
||||
variable_open
|
||||
=
|
||||
|
||||
Loading…
Reference in New Issue
Block a user