mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-02 10:27:21 +02:00
support for statement labels and basic fork-join
This commit is contained in:
@@ -20,8 +20,8 @@ convert =
|
||||
$ traverseStmts $ convertStmt
|
||||
|
||||
convertStmt :: Stmt -> Stmt
|
||||
convertStmt (Block name decls stmts) =
|
||||
Block name decls' stmts'
|
||||
convertStmt (Block Seq name decls stmts) =
|
||||
Block Seq name decls' stmts'
|
||||
where
|
||||
splitDecls = map splitDecl decls
|
||||
decls' = map fst splitDecls
|
||||
|
||||
Reference in New Issue
Block a user