From: Zhaoyang (zhaoyang_at_ict.ac.cn)
Date: Mon Jun 05 2006 - 21:01:35 MDT
I think I may find the reason. The interface between Yacc and Lex is
often "yytext" as default, to transfer the string readed from the input
file. But in the makefile it's redefined as "CtlpYytext" using
"-pCtlpYy" argument in bison and "-PCtlpYy" in flex. But in the ctlp.y,
it still uses "yytext".
So my solution is modifying the "yytext" into "CtlpYytext". I'm not quit
sure the prefix is the same in the different platform. So you'd better
check in the makefile to see the prefix used. Just see the "-p" argument
in bison and "-P" argument in flex.
The solution seems a little silly. I think this is a bug in the code.
Whether it can be configured automatically, it's my question.
This archive was generated by hypermail 2.1.7 : Mon Jun 05 2006 - 21:16:45 MDT