BalticAmadeus / AblFormatter

Code formatter for Progress OpenEdge (ABL)
Apache License 2.0
5 stars 0 forks source link

+=, -=, *=, /= operators cause error. #116

Open gustason opened 1 month ago

gustason commented 1 month ago

image

This happens with all similar operators, therefore, all of the lines below cause errors:

a += 3.
b -= 3.
c *= 3.
d /= 3.
eglekaz commented 2 weeks ago

Registered: https://github.com/usagi-coffee/tree-sitter-abl/issues/76

eglekaz commented 1 week ago

Fixed with version 0.0.39 of tree-sitter-abl

gustason commented 5 days ago

I am not sure if this was fixed correctly, since now in the code a += 3., the += does not get parsed at all, it is only a part of the whole assignment node. Should it not work like in a = 3 where = is a node itself?

eglekaz commented 4 days ago

Understood the issue. Registered: https://github.com/usagi-coffee/tree-sitter-abl/issues/86