Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix enum constant ranges without colons #1204
Author Name: Mike Popoloski
Commit 17a9b22 fixed cell ranges that are specified without colons (there were one too many in the range). This matches a change we had locally, but unfortunately it looks like the same issue effects enum constants specified with the bracket range syntax. Also even more unfortunately, I don't think the solution of just adding the AstSub into the .y file works here, because that enum generation happens before constants are handled. I have changes locally that make it work but they're a little hacky; let me know if you want me to include the patch.
Original Redmine Comment
Patch is attached along with a modification to the t_enum test showing the issue.
Like I said, the change is hacky so I wouldn't be surprised if you had a better way of fixing it, but this works for us.