hadronized / glsl

GLSL parser for Rust
190 stars 28 forks source link

Wrong associativity for logical operators #119

Closed alixinne closed 4 years ago

alixinne commented 4 years ago

While working on #52, I discovered issues with how the condition in @AndreasOM's comment is parsed.

It seems left-associativity parsing was fixed for arithmetic operators (#108 and related PR #109), but it is still broken for logical operators.

I updated the related test to account for that in my fork, vtavernier/glsl@af0dfae.