BalticAmadeus / AblFormatter

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

INIT is not parsed correctly in property definition #144

Closed eglekaz closed 2 months ago

eglekaz commented 2 months ago

It understands that it is INIT, but it does not understand that it is a part of property definition, unless it has a full keyword INITIAL. Example: define private property HANDOFF_CPT as char no-undo init "9999" private get. private set.

image When having full keyword: define private property HANDOFF_CPT as char no-undo initial "9999" private get. private set.

image

eglekaz commented 2 months ago

Fixed with tree-sitter-abl version 0.0.30