Re: parse.y: document quoting rules

2012-04-21 Thread Jason McIntyre
On Sat, Apr 21, 2012 at 08:45:25PM +0200, Florian Obser wrote: > > Keywords need to be quoted, too. > This does not work (syntax error) > include tag > while this works: > include "tag" > > What got me thinking about this: Is that sentence supposed to describe > quoting rules for the "inc

Re: parse.y: document quoting rules

2012-04-21 Thread Florian Obser
On 04/21/12 20:45, Florian Obser wrote: > I think it should apply to the whole grammar: > This does not work (syntax error) > pass in tag tag > pass in tag /foo > while this works: > pass in tag "tag" > pass in tag "/foo" Of course these rules combined are nonsense. What I meant to

Re: parse.y: document quoting rules

2012-04-21 Thread Florian Obser
On 04/21/12 19:33, Jason McIntyre wrote: > > any dissention, or inaccuracies? > > jmc > > Index: pf.conf.5 > === > RCS file: /cvs/src/share/man/man5/pf.conf.5,v > retrieving revision 1.513 > diff -u -r1.513 pf.conf.5 > --- pf.conf.5

parse.y: document quoting rules

2012-04-21 Thread Jason McIntyre
it seems that we have lots of config files that currently have no guidelines as to what needs quoting, and what does not. the diff below is for pf.conf.5, and attempts to clarify that. if no one disagrees, i'll do it for all those that use parse.y. that is: /usr/src/sbin/iked/parse.y