diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-05-14 10:46:40 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-05-25 07:36:53 -0700 |
commit | 1c117ac0236517d0d7150dcc8d1fed19288bd692 (patch) | |
tree | 9b9e915a1cb31442b23a61b42adf6e072e9f122c /frontends/verilog/verilog_parser.y | |
parent | 29d84339bf9ec8f1d2be3fa20f81843f3ee08324 (diff) | |
download | yosys-1c117ac0236517d0d7150dcc8d1fed19288bd692.tar.gz yosys-1c117ac0236517d0d7150dcc8d1fed19288bd692.tar.bz2 yosys-1c117ac0236517d0d7150dcc8d1fed19288bd692.zip |
verilog: do not warn for attributes on null statements
Diffstat (limited to 'frontends/verilog/verilog_parser.y')
-rw-r--r-- | frontends/verilog/verilog_parser.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index eb7e136ae..475557af9 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -2230,7 +2230,6 @@ behavioral_stmt: non_opt_delay behavioral_stmt | attr simple_behavioral_stmt ';' | attr ';' { - log_file_warning(current_filename, get_line_num(), "Attribute(s) attached to null statement. Ignoring.\n"); free_attr($1); } | attr hierarchical_id { @@ -2534,7 +2533,6 @@ module_gen_body: gen_stmt_or_module_body_stmt: gen_stmt | module_body_stmt | attr ';' { - log_file_warning(current_filename, get_line_num(), "Attribute(s) attached to null statement. Ignoring.\n"); free_attr($1); }; |