summaryrefslogtreecommitdiff
path: root/frontends/verilog/verilog_frontend.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-11-14 19:59:50 +0100
committerClifford Wolf <clifford@clifford.at>2014-11-14 19:59:50 +0100
commit87333f3ae236555ac1efb38b5e99b5f067900ddd (patch)
tree099b98bdecada6707b60b850a9f38461655aab66 /frontends/verilog/verilog_frontend.h
parent4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9 (diff)
Added warning for use of 'z' constants in HDL
Diffstat (limited to 'frontends/verilog/verilog_frontend.h')
-rw-r--r--frontends/verilog/verilog_frontend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/verilog_frontend.h b/frontends/verilog/verilog_frontend.h
index af6495f8..e277f3e3 100644
--- a/frontends/verilog/verilog_frontend.h
+++ b/frontends/verilog/verilog_frontend.h
@@ -43,7 +43,7 @@ namespace VERILOG_FRONTEND
extern struct AST::AstNode *current_ast;
// this function converts a Verilog constant to an AST_CONSTANT node
- AST::AstNode *const2ast(std::string code, char case_type = 0);
+ AST::AstNode *const2ast(std::string code, char case_type = 0, bool warn_z = false);
// state of `default_nettype
extern bool default_nettype_wire;