On 07 Jan 2011, at 11:50, Paul Ishenin wrote:

07.01.2011 17:43, Jonas Maebe wrote:
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
Sometimes I need to edit the message. In this case I also modify other error[lang].msg files. Is this correct or I should use some automated process?

There's a helper utility (utils/msgdif.pp), but I don't think it handles changed messages (except for a change in severity). So it's ok to manually modify the other language msg files.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to