mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-09 15:43:25 +00:00
verilog: do not warn for attributes on null statements
This commit is contained in:
parent
29d84339bf
commit
1c117ac023
2 changed files with 4 additions and 6 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue