Position of rules definitions

Liviu Nicoara nicoara at roguewave.com
Wed May 2 22:12:16 UTC 2007


Paul Eggert wrote:
> Liviu Nicoara <nicoara at roguewave.com> writes:
> 
>> I noticed that a couple of rules (e.g. EU, Romania) in the Europe file
>> are being referenced in zone definitions before they are defined. Is
>> there a strong reason why their definitions should not precede their
>> usage?
> 
> It's listed that way for convenience, which I suppose is not a strong
> reason.  Is there some reason to change things, and put definitions
> before use?

I understand that convenience; the only reason I have for reordering the 
rules is to favor a one-pass parser. I find it more logical to have the 
definition of an entity before its first use.

Thanks,
Liviu



More information about the tz mailing list