Biswajit Dhar
August 4th, 1999, 01:40 AM
For ASN1 compiler
for lexical analyzer we are using flex and now
lex is compiling
so $flex asn1.lex is compiling and lex.yy.c
file is created
and in yacc part
y.tab.c and y.tab.h file which will be
created from -d option
$yacc -d asn1.yacc is now created
and y.output file which will be created from
-v option
$yacc -v asn1.yacc is now created.
however when we are compiling the yacc
$yacc asn1.yacc we get an error.
the error which is coming is:
2 rules never reduced
conflicts:61shift/reduce,35 reduce/reduce
Please respond to:
astral@del2.vsnl.net.in
for lexical analyzer we are using flex and now
lex is compiling
so $flex asn1.lex is compiling and lex.yy.c
file is created
and in yacc part
y.tab.c and y.tab.h file which will be
created from -d option
$yacc -d asn1.yacc is now created
and y.output file which will be created from
-v option
$yacc -v asn1.yacc is now created.
however when we are compiling the yacc
$yacc asn1.yacc we get an error.
the error which is coming is:
2 rules never reduced
conflicts:61shift/reduce,35 reduce/reduce
Please respond to:
astral@del2.vsnl.net.in