Re: bison and valgrind



Chris Dollin wrote:

At one point we had a tool that parsed a specification language and
built its parse tree; we parsed the input twice. Once to find out if
it was syntactically valid, the second (if the first was OK) to build
the tree.

Ah, yes. One of the simplest and most reliable techniques there is:
Do It Twice. An admirable approach, but one I tend not to think of as
often as I should.

-- chris
.