문제

I'm working on a bison parser with most of the features of an OOP language and now bison complains that there are some shift/reduce conflicts. I got:

conflicts: 21 shift/reduce

The problem is that it does not tell me where they are. Does anyone know how to locate there conflicts?

Thanks in advance.

도움이 되었습니까?

해결책

If you read the manual page about command line options you will notice one called --report and another called --report-file. These two tells Bison to create a report file of the specified name, that among other things should include more information about conflicts.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top