Subj : Re: prefix for yacc/bison To : comp.programming From : Flavius Vespasianus Date : Wed Jul 13 2005 01:16 am Christian Christmann wrote in news:42d2f0c2$0$20146 $9b4e6d93@newsread2.arcor-online.net: > Hi, > > sorry, this question is offtopic, but didn't find any other newsgroup to > ask. > A question on yacc/bison: I've to work on two different machines. One > of them is using yacc the other is using bison (by default as replacement > for yacc). For a yacc file I've to change the default prefix yy. Thus, > I've added the line %name-prefix="aa". This works fine for bison but > issues an syntax error with yacc. > > Is there a way to change the prefix which work for both yacc and bison? I have never heard of a pure unix yacc that has this feature. Why not use bison on the other machine? .