NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/59106: ippool.conf.5:



The following reply was made to PR misc/59106; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: martin%netbsd.org@localhost
Subject: Re: misc/59106: ippool.conf.5:
Date: Wed, 26 Feb 2025 06:56:57 +0000 (UTC)

 On Wed, 26 Feb 2025, Martin Husemann via gnats wrote:
 
 > On Tue, Feb 25, 2025 at 10:40:01PM +0000, rvp%SDF.ORG@localhost wrote:
 > > Ie. this:
 > >
 > >        pool ipf/tree (name rfc1918;) { "file:///etc/ipf/rfc1918"; };
 >
 > Doesn't the name need to be quoted too (since it isn't numeric)?
 > At least that is how I read line 506 of the grammar.
 >
 
 Strictly speaking, yes; but, the text after the `name' token doesn't contain
 any non-alnums so gets returned as YY_STR. It'd break the same way if the next
 token was `rfc:1918' or `rfc/1918'. Then, quoting would be reqd.
 
 -RVP
 


Home | Main Index | Thread Index | Old Index