Weird error messages after missing braces or semicolons
Original Reporter info from Mantis: martin.lux@worldonline.cz
-
Reporter name: Martin Lux
Original Reporter info from Mantis: martin.lux@worldonline.cz
- Reporter name: Martin Lux
Description:
If some of these was corrected in 2.2.2, then I'm sorry for unavailing report (but It's strange it wasn't corrected much sooner)..
Free Pascal sometimes report strange errors after some occurrences which probably confused it. For example:
- This works either bad or well with bad lines colouring:
{{comment} produce: Fatal: Unexpected end of file
(FP marks the last line in source file instead of {{ line)
But: only the text within the brackets is gray, not the rest of file...
the same for (* (* something )
( (* *) X *) works OK, although the last *) isn't gray coloured (and X also)
- This is maybe correct:
case Var of
0 : something
1 : something2;
end;
produce "Syntax error, ";" expected but "ordinal const" found", but
case Var of
0 :
1 : something2;
end;
produce: Error: Label used but not defined "0"
Additional information:
FP IDE for Win32 for i386
Target: Win32
Version: 1.0.10
Compiler: 2.2.0
Mantis conversion info:
- Mantis ID: 11580
- Version: 2.2.0
- Fixed in version: 2.6.0