> As GNU says, GNU is not Unix (or Plan 9).  There is no #ifdef-free
> way to satisfy both toolchains unless one wants to pervert the Plan 9
> toolchain.  One trivial change to GCC, namely Plan 9's use of empty names
> to represent unused arguments, would improve GCC greatly, but is unlikely
> to be accepted by the developers.  The alternative is a pain in the butt.

a sed script in the plan9-specific could do the trick.  ideally, though,
the go source wouldn't redefine getc(), and the include could no longer
be necessary.  i've seen go define cget in other places, that might be a
solution; but i don't know the local customs well.

> In passing, Erik, you made some changes to Yacc to accept //-comments,
> do you still have those at hand?  Do you have some idea why they were
> not applied to P9 Yacc?

they have been applied.  thanks to geoff for integrating the
change: /n/sources/patch/applied/yacccmt

- erik

Reply via email to