You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.
Please delete or fill out each section as appropriate:
Issue Description
Current version requires BISON 3.0.4 or above (defined in CMakefiles.txt). However, it does not build under BISON 3.3.1 (version from homebrew formulae ).
What should happen:
Library build pass.
What actually happens:
/usr/bin/m4:/usr/share/bison/skeletons/yacc.c:1652: undefined macro `b4_symbol(610, has_type)'/usr/bin/m4:/usr/share/bison/skeletons/yacc.c:1652: undefined macro `b4_symbol(610, has_type)'/usr/share/bison/skeletons/yacc.c:1652: error: b4_symbol_if: field has_type of 610 is not a Boolean: /usr/share/bison/skeletons/yacc.c:1652: the top level
/root/verilog-parser/src/verilog_scanner.l:3:14: fatal error: verilog_parser.tab.h: No such file or directory
#include "verilog_parser.tab.h"
I'm afraid I don't have access to a Mac (which I assume is what you're running given you talked about homebrew?) and so cannot re-produce this issue.
From your error, it seems like the problems lie inside the bison installation? I doubt this is a bug in Bison, but it does seem your installation might not be working as it should.
If you find a way to fix it on your local machine, I will happily look at a pull request, but since I cannot repeat the issue, I am hesitant to make changes to the repo as is.
The error exists in both Ubuntu (16.04, 18.04) and OSX when installing the official release. The error message above is actually copied from the Ubuntu environment.
I tried to fix it, but due to my limited knowledge in BISON, I didn't find a way to solve it and let's why I raise the issue here.
Please delete or fill out each section as appropriate:
Issue Description
Current version requires BISON 3.0.4 or above (defined in CMakefiles.txt). However, it does not build under BISON 3.3.1 (version from homebrew formulae ).
What should happen:
Library build pass.
What actually happens:
/root/verilog-parser/src/verilog_scanner.l:3:14: fatal error: verilog_parser.tab.h: No such file or directory #include "verilog_parser.tab.h"
Steps to re-create:
Describe exactly how to re-create the bug.
People to Notify:
Related Issues:
The text was updated successfully, but these errors were encountered: