#137 Wrong line and col numbers with 2.0b1 GUI Console

open
nobody
Parsing (77)
5
2003-09-10
2003-09-10
No

Looks like 2.0b1 doesn't count lines properly when
reading from the GUI console, so it thinks the entire
input is one line, with an ever-increasing column
number. This only happens in the GUI console, however.

Try entering the following into the GUI console:

foo()
{
x((y);
}

On the third line above, it says

// Error: Parser Error: Parse error at line 1, column
55. Encountered: (

Should be line 3, column 2.

This works fine in the bsh.Interpreter class when it
reads from the standard input.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks