BalticAmadeus / AblFormatter

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

MODULO throws error in expression #188

Closed eglekaz closed 1 month ago

eglekaz commented 2 months ago

Example:

descrp   = IF repMonth = 2 AND
                         (repYear MODULO 4) = 0
                        THEN totalMonths[repMonth] + " " + febDays + ", " +
                             STRING(repYear)
                        ELSE totalMonths[repMonth] + " " + totalDays[repMonth] + 
                             ", " + STRING(repYear).
eglekaz commented 2 months ago

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

eglekaz commented 1 month ago

Fixed with tree-sitter-abl version 0.0.34