[Bro-Dev] Bro script parser: shift/reduce conflicts.

Gregor Maier gregor at icir.org
Wed Dec 8 22:30:24 PST 2010


On 12/8/10 20:02 , Vern Paxson wrote:
>> Presumably these 71 conflicts are all fine and expected. So I would add
>> a %expect 71 clause the parse.y.
> 
> Will byacc just ignore (or honor) such a clause, or will it complain?

Depends. They either support and honor it, or I guess they complain if
they don't have support for it.

Some byacc's support it (e.g., the top hit on Google when searching for
byacc), but some don't.

That being said, as part of the move-to-CMake discussion the consensus
was to only support bison (and remove make-parser.pl). (IIRC)


cu
Gregor
-- 
Gregor Maier                                             gregor at icir.org
Int. Computer Science Institute (ICSI)          gregor at icsi.berkeley.edu
1947 Center St., Ste. 600                    http://www.icir.org/gregor/
Berkeley, CA 94704
USA


More information about the bro-dev mailing list