OSDN Git Service

add AST for if-else statement which contains lock or unlock statement (#32)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Thu, 20 Dec 2018 10:24:21 +0000 (18:24 +0800)
committerPaladz <yzhu101@uottawa.ca>
Thu, 20 Dec 2018 10:24:21 +0000 (18:24 +0800)
commit1ec98bb47edb9d0fd3447f450e653ea65c5f427f
treea84b5af32ef5138e3dc2270547b58188cd16b88b
parentf05780c18c0d34a2e4d993ef38d9c8a98d62e0c8
add AST for if-else statement which contains lock or unlock statement  (#32)

* add expression for lock/unlock statement which included by if-else body

* add AST for if-else statement which contains lock or unlock statement

* delete redundant role
compiler/ast.go
compiler/checks.go
compiler/compile.go
compiler/environ.go