Subj : Re: prefix for yacc/bison To : comp.programming From : lawrence.jones Date : Wed Jul 13 2005 05:13 am Christian Christmann wrote: > > 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? The usual approach to that problem is to use sed after the fact to change the names. -Larry Jones Geez, I gotta have a REASON for everything? -- Calvin .