BalticAmadeus / AblFormatter

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

The whole class does not get parsed if END METHOD. is used at the end of a constructor #223

Open gustason opened 2 months ago

gustason commented 2 months ago

For example,

CLASS DecoratedMotorcycle: 

    CONSTRUCTOR DecoratedMotorcycle():
        message "moto".
    END METHOD.

END CLASS.

image

eglekaz commented 1 month ago

END METHOD should not be used to end constructor. It should be END [CONSTRUCTOR] Documentation: https://documentation.progress.com/output/ua/OpenEdge_latest/pdsoe/PLUGINS_ROOT/com.openedge.pdt.langref.help/rfi1424920513810.html

@gustason please check and close the issue if everything is okay.