usagi-coffee / tree-sitter-abl

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

Functions with no parameters are not parsed correctly #55

Closed eglekaz closed 2 months ago

eglekaz commented 2 months ago

Function parameters should be parsed as an optional component. Reference: https://documentation.progress.com/output/ua/OpenEdge_latest/pdsoe/PLUGINS_ROOT/com.openedge.pdt.langref.help/rfi1424920293523.html

Example:

function testFunction returns integer:
    return 1.
end function.