[fpc-devel] Re: RFC: Delphi style class helpers
Sven Barth
pascaldragon at googlemail.com
Fri Jan 7 12:02:18 CET 2011
Am 07.01.2011 11:43, schrieb Jonas Maebe:
>
> On 07 Jan 2011, at 10:30, Sven Barth wrote:
>
>> Should I use new error messages like "reference to class helper not
>> allowed here" and so on or should I rely on the messages that are
>> already there? If the first: what needs to be changed to add a new
>> message?
>
> When you can reuse (or *slightly* modify/generalise) an existing
> message, do so. Otherwise add a new one. To do so, edit
> compiler/msg/errore.msg and add a new entry at the end of the
> appropriate category, along with a description. If you're not sure,
> search for a related message and add it to the end of its category. See
> the text at the top for an explanation of the format of the messages.
>
> When you "make" the compiler, the message files will automatically be
> regenerated from errore.msg
Ok, thanks.
Regards,
Sven
More information about the fpc-devel
mailing list