[Xorp-hackers] About make yacc?

杨小帅 eshe168 at gmail.com
Thu Sep 18 19:11:06 PDT 2008


Hi,
     When I use make yacc, I found something wrong. And, The new
y.tplt_tab.cc is different with the old. I want to get reason. I do
not change template.yy. My OS is Debian.
     Looking forward your answer!
     Here is error information:
yxs at Lenny621:~/xorp-cli/xorp-demo/rtrmgr$ make yacc
( cd .;						\
	yacc -d -p tplt -o y.tplt_tab.c template.yy;		\
	mv y.tplt_tab.c y.tplt_tab.cc;				\
	bash ../utils/rcsid2ident.sh y.tplt_tab.cc;	\
	yacc -d -p boot -o y.boot_tab.c boot.yy;		\
	mv y.boot_tab.c y.boot_tab.cc;				\
	bash ../utils/rcsid2ident.sh y.boot_tab.cc;	\
	yacc -d -p opcmd -o y.opcmd_tab.c op_commands.yy;	\
	mv y.opcmd_tab.c y.opcmd_tab.cc;			\
	bash ../utils/rcsid2ident.sh y.opcmd_tab.cc;	\
	touch .yacc_generated_files )
61685
      static char const yyunexpected[] = "syntax error, unexpected %s";
?
56089
      static char const yyunexpected[] = "syntax error, unexpected %s";
?
56419
      static char const yyunexpected[] = "syntax error, unexpected %s";
?

B.R.
Xiaoshuai Yang



More information about the Xorp-hackers mailing list