help-bison
[Top][All Lists]
Advanced

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

Shift reduce errors due to embedded actions


From: shri
Subject: Shift reduce errors due to embedded actions
Date: 9 Oct 2001 13:52:20 -0000

hi

i have developed a parser for a language similar to c to generate the cross 
reference information of variables and function names used in the source code.

from the embedded actions in the rules section of bison, i invoke a function to 
generate cross reference information about the variables in the program, which 
leads to shift reduce errors.

how can i avoid getting the shift reduce errors due to embedded actions in the 
rules section of bison?

is there any way where i can do away with embedded actions while achieving the 
purpose of generating the cross reference information?

thanks
srinivas
india
 




reply via email to

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