Basically, if there is a minus sign for a negative value past the first argument, there is a parsing error. Adding comma to the list of minusNegatesAfter should allow proper interpretation of negative values after the first argument.
@TomFrost The fix in addition to unit tests have been added in this PR. To me it looks good to merge for fixing this issue, but would like your feedback.
Addresses https://github.com/TomFrost/Jexl/issues/97
Incorporates the suggestion provided in this comment, courtesy of OlivierB-OB: https://github.com/TomFrost/Jexl/issues/97#issuecomment-745129713
Basically, if there is a minus sign for a negative value past the first argument, there is a parsing error. Adding comma to the list of
minusNegatesAfter
should allow proper interpretation of negative values after the first argument.