usagi-coffee / tree-sitter-abl

OpenEdge ABL grammar for tree-sitter
MIT License
7 stars 1 forks source link

Version 0.0.39 does not recognize else if statement #81

Closed eglekaz closed 1 month ago

eglekaz commented 1 month ago

After last version our tests are showing that else_if_statement is not parsed correctly, which breaks our formatting. Here is an example:

if a = b then message a.
else if b = 1 then message 1.
else if b = 2 then message 2.
jkbz64 commented 1 month ago

It has been merged into else_statement (maybe should've been else_clause), I don't think there is a need to diffrentiate between two... Sorry for breaking you.

eglekaz commented 1 month ago

All good! We gonna adjust our logic to this. Thank you!