Merge branch 'master' into 1.16

This commit is contained in:
gnembon committed 2020-05-02 12:47:33 -03:00
commit ef61b396fd
1 file changed
+5
@@ -201,6 +201,11 @@ public class Tokenizer implements Iterator<Tokenizer.Token>
{
token.append(input.charAt(pos++));
linepos++;
if (ch=='\n')
{
lineno++;
linepos = 0;
}
if (pos == input.length() && expression != null && context != null)
throw new ExpressionException(context, this.expression, token, "Program truncated");
}