Mail Archives: djgpp/1997/05/23/17:05:36
Gary R Sekinger wrote:
> My problem is that I don't want to impose an order on the statements
> within the block. I could use brute force and specify all 362880 (9!)
> permeation's, but that method would really suck! A second idea was to
> make all of the statements optional and then at the "EndGeneralBlock"
> token check to make sure that they were all specified, but this also
> seems like a hack. Is there an better way to do this?
there isn't, the second method is the only sensible way to go around
it with yacc(bison). Perhaps you can initialise all your stuff
to default settings, so that the user does not have to specify
them all?
koen.
- Raw text -