> Is this what you are trying to do? > > $ cat b.y <<'EOF' > %token ATOM REP > %% > blocks: block | block blocks; > block: ATOM | REP block | '[' blocks ']'; > %% > EOF > $ bison b.y > $
My head is starting to spin, but I think that, possibly, yes. Seems to be the simplest way how to do it. :) Anyway, I also needed to know what R Cox explained, that was important; still wondering what that %nonassoc really means. Thanks Ruda