aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verilog
diff options
context:
space:
mode:
authorZachary Snow <zach@zachjs.com>2021-05-27 16:47:02 -0400
committerZachary Snow <zachary.j.snow@gmail.com>2021-06-01 13:17:41 -0400
commit8cfed1a97957e4c096d1e0a0304d978bcb27e116 (patch)
treeea43c00a06a8e1bf86eb11fbdcd19ecf948dc4c1 /frontends/verilog
parent6d5d8457883e5de8df58997d95373d3433b781bf (diff)
downloadyosys-8cfed1a97957e4c096d1e0a0304d978bcb27e116.tar.gz
yosys-8cfed1a97957e4c096d1e0a0304d978bcb27e116.tar.bz2
yosys-8cfed1a97957e4c096d1e0a0304d978bcb27e116.zip
sv: support tasks and functions within packages
Diffstat (limited to 'frontends/verilog')
-rw-r--r--frontends/verilog/verilog_parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y
index c2b43f45b..93ddbec91 100644
--- a/frontends/verilog/verilog_parser.y
+++ b/frontends/verilog/verilog_parser.y
@@ -593,7 +593,7 @@ package_body:
package_body package_body_stmt | %empty;
package_body_stmt:
- typedef_decl | localparam_decl | param_decl;
+ typedef_decl | localparam_decl | param_decl | task_func_decl;
interface:
TOK_INTERFACE {