Click to See Complete Forum and Search --> : if else shift/reduce conflict


mohammadz
11-18-2009, 03:03 AM
in all javascript grammar that i saw there are some shift/reduce conflicts , for example : in if else statement .
do some one know how can i fix this conflict.
thnx.s

Fang
11-18-2009, 03:38 AM
shift/reduce conflicts :confused:
Please give a code example of the problem.

mohammadz
11-18-2009, 04:02 AM
i mean shift/reduce conflict in parsing javascript with yacc or bison.

Fang
11-18-2009, 04:13 AM
You will have more success if you ask this question in a yacc or bison forum. Google first before asking questions.