Hello,
FPC v3.2.2 currently emits an
"Error: Illegal expression" message when it encounters an assignment statement with a missing ":", i.e,
SomeVar = avalue; { illegal expression - note missing ":" }
This is an easy mistake to make when porting C code to Pascal. More often than not, the cause of the problem is evident (the missing ":") but, on occasion, after porting many lines of code, the reason can be overlooked resulting in a waste of time.
The request is therefore: if at all possible improve the error message to something along the lines of
"possible ":" missing in assignment statement" or something along those lines.
Thank you.