[Lazarus] Groundwork for Undo in Form Designer
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sun Jan 10 15:01:06 CET 2010
Juha Manninen schrieb:
>>> At least the error message could mention the actual number of entries, as
>>> found in source code. This doesn't require any change to the language or
>>> compiler, only an change to the error message generation.
>> lol, something like this?! :) sorry, my vds is down can't publish the
>> whole patch...
>
> Wow, that would be surely better than the current message:
> ')' expected but ',' found (or something).
> It seems to be reasonably easy to implement.
:-)
> But still it feels little half-baked. The real solution would be to change
> language syntax. Do you have an idea how much work the compiler (parser and
> such) would need to implement the proposed syntax?
IMO a syntax change is not necessary, and it wouldn't help when the
array dimensions are described by an enumerated type, e.g.
array[TMyEnum] of ...
DoDi
More information about the Lazarus
mailing list