зеркало из https://github.com/github/ruby.git
[ruby/prism] Fix up unary * binding power
https://github.com/ruby/prism/commit/c1d23d4702
This commit is contained in:
Родитель
a6cf132475
Коммит
b8c8529dcf
|
@ -12991,7 +12991,7 @@ pm_binding_powers_t pm_binding_powers[PM_TOKEN_MAXIMUM] = {
|
|||
[PM_TOKEN_PERCENT] = LEFT_ASSOCIATIVE(PM_BINDING_POWER_FACTOR),
|
||||
[PM_TOKEN_SLASH] = LEFT_ASSOCIATIVE(PM_BINDING_POWER_FACTOR),
|
||||
[PM_TOKEN_STAR] = LEFT_ASSOCIATIVE(PM_BINDING_POWER_FACTOR),
|
||||
[PM_TOKEN_USTAR] = LEFT_ASSOCIATIVE(PM_BINDING_POWER_FACTOR),
|
||||
[PM_TOKEN_USTAR] = RIGHT_ASSOCIATIVE_UNARY(PM_BINDING_POWER_FACTOR),
|
||||
|
||||
// -@
|
||||
[PM_TOKEN_UMINUS] = RIGHT_ASSOCIATIVE_UNARY(PM_BINDING_POWER_UMINUS),
|
||||
|
|
Загрузка…
Ссылка в новой задаче