On Thu, Mar 13, 2008 at 10:17 PM, Shawn Walker <[EMAIL PROTECTED]> wrote: > On Thu, Mar 13, 2008 at 6:38 PM, Danek Duvall <[EMAIL PROTECTED]> wrote: > > - line 57,59: could NAME ever follow NAME or NUMBER follow NUMBER in a > > token stream? It seems like that would represent a broken filter if it > > could. > > It's somewhat misleading as the order doesn't matter. next_tok here > only implies what the expected subsequent tokens can be, not what > order they have to be in. If you look at my tests, you'll see I have > cases where NAME follows NUMBER and vice versa.
Sorry, to be clear here: The test cases test for NUMBER follows NUMBER for certain, such as: version=0.9.9 & arch=sparc I have never seen NAME follow NAME it always appears as one token of type NAME. -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
