help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble with flex++ bison++


From: zze-Anticipip Ball001 FTRD
Subject: trouble with flex++ bison++
Date: Wed, 26 Sep 2001 16:05:24 +0200

here is one of my rules in parser.y :

eqpt:
 Open eqpt_KW NUMBER NUMBER Close
        {
                printf("equipememt %s read successfully \n",$3);


the parsed file looks like this :
( eqpt 52 59 )
( eqpt 62 69 )

so this should print "equipement 52 read successfully" but i get "equipement
52 59 ) read successfully"...
and if i replace $3 with $4, i get "equipement 59 ) read successfully"...

please, i need help !!


Thank you

Kevin Moyse



reply via email to

[Prev in Thread] Current Thread [Next in Thread]