Opened 17 years ago
Closed 17 years ago
#2323 closed defect (fixed)
Modulus/Modulo expressions operator not working
Reported by: | mschulz | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.1 release |
Component: | MapServer CGI | Version: | 5.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
When looking at mapparser.y 345:
math_exp '%' math_exp { $$ = (int)$1 * (int)$3; }
This looks like the modulo operator is defined, but the calculation is not modulo.
Note:
See TracTickets
for help on using tickets.
Fixed in both 5.0 branch and the main trunk.
Steve