projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad56ad4
)
Improved verilog parser errors
author
Clifford Wolf
<clifford@clifford.at>
Thu, 25 Aug 2016 09:44:25 +0000
(11:44 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 25 Aug 2016 09:44:37 +0000
(11:44 +0200)
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index 7b025db2355913eb4f811d5b0497951ccb4067e2..d0d6a5fe1ee66f9d0e4c8306540f7610b4f13926 100644
(file)
--- a/
frontends/verilog/verilog_parser.y
+++ b/
frontends/verilog/verilog_parser.y
@@
-135,6
+135,9
@@
static void free_attr(std::map<std::string, AstNode*> *al)
%left OP_POW
%right UNARY_OPS
+%define parse.error verbose
+%define parse.lac full
+
%expect 2
%debug