#231 an example of a somehow misleading error message

open
nobody
None
1
2009-11-27
2009-11-27
Sylwester Arabas
No

GDL> $cat bug.pro
pro bug
n = 1
if (n ne 1 then n = 1
end

IDL> bug

if (n ne 1 then n = 1
^
% Syntax error.
...

GDL> bug
% Lexer/Parser syntax error: expecting EQUAL, found 'NE'
At: bug.pro, Line 3 Column 9
...

Discussion