in Compiler Design edited by
677 views
1 vote
1 vote

How many conflicts are present in LR(0) parser..i am getting 3.

in Compiler Design edited by
677 views

4 Comments

Give your solution. Which You solved
1
1
what is the ans?
0
0

This is the DFA.

0
0
3 is answer . 1st and 4rth also conflict
2
2

2 Answers

4 votes
4 votes

3 shift reduce conflict.

1 comment

i am getting only 1 S-R conflcit.which is on transitiion on small 'y'.

else two that you are counting do not have any reduce,only shifts are there.please check again.
0
0
0 votes
0 votes

see this