]> git.tdb.fi Git - libs/gl.git/commit
Ignore precedence for prefix operators
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 22:33:44 +0000 (00:33 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Mar 2021 23:00:31 +0000 (01:00 +0200)
commite8542d921a07b7391d558cb3349a68f26675f797
tree48a1ce33024a602037295975c490fc1ca3e6a34c
parentde87bb70ae10de39a39b2415407a234ab28099cf
Ignore precedence for prefix operators

Since the operator appears at the start of an expression or after another
operator, there's no way for it to bind to anything but whatever follows.
This fixes a bug where chained prefix operators were not recognized.
source/glsl/parser.cpp