usagi-coffee / tree-sitter-abl

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

MODULO throws error in expression #73

Closed eglekaz closed 1 month ago

eglekaz commented 1 month ago

Example:

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