Perhaps I'am way off base but surely the neatest solution would be to modify yacc to produce a nice clean message format, modify the gc to use that format.
The reason for not using just the same format blindly is it was designed with the structure of gc in mind rather than a clean output format. Who knows, by delving into yacc perhaps more or even better error status can be extracted. Then we just need to convince russ/the go authors to include plan9's yacc as part of the go distribution, it wouldn't be unprecendented as go already includes 8c, 8l and friends. -Steve
