On Jun 29, 2011, at 12:21 AM, Phil Mayers wrote:
> Or use Config::Parser, or adapt the script I sent round (which in fact was 
> the reason I wrote it); tokenisation of the bind config file is easy, and the 
> core grammar is straightforward because everything is ;-terminated, with the 
> form:
> 
> item = thing+ block semicolon
> thing = word | quoted-string
> block = { item+ }

Not entirely. There is at least one construct that looks like this (using your 
terms):

thing+ block thing block semicolon

For example, within the controls statement:

inet * allow { trusted; } keys { some.key; };

Regards,
Chris Buxton
BlueCat Networks
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to