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:
Kevin 2020-05-11 21:11:32 -04:00
parent 83665a1706
commit 983f480532

View File

@ -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
=