Subject: Question regarding the yylval in libc library.
To: None <tech-userlevel@netbsd.org>
From: Shankar Agarwal <shankar_agarwal@net.com>
List: tech-userlevel
Date: 07/23/2001 17:07:32
Hi All,
I have one small problem. We are using -p option with both yacc and lex
for compiling nslexer.l and nsparser.y code in lib/libc/net directory
and the code that is generated does not seem to be compatible for yylval
in nslexer.c. The list of redefines does not include yylval in nslexer.c
but it is redefined in nsparser.c so i am getting compilation error. Is
there any way to resolve this problem. How is this problem taken care in
the netbsd builds.
Thanks
Regards
Shankar