Nathan Sharp - 2002-06-10

Logged In: YES
user_id=297083

In bsh.Interpreter.eval(String, NameSpace) I changed the
code to correct for this problem:

public Object eval( String statement, NameSpace nameSpace )
throws EvalError {

String s = ( statement.endsWith(";") ? statement :
statement+";" );
return eval(
// new StringReader(s), nameSpace, "<Inline eval of:
"+s+" >" );
new StringReader(s), nameSpace, "<Inline eval>" );
}

Note that this does clobber the nice functionality of
showing the string being evalled for small strings. Our
strings are just too large for this to be realistic.

However, the line with the error is still shows up correctly
in getErrorText() of the EvalError.