Remove expr/stmt (#5857)

This commit is contained in:
Arne Döring 2017-07-25 09:28:23 +02:00 • committed by Andreas Rumpf
commit 000b8afd26
168 changed files with 497 additions and 529 deletions

View file

@ -14,7 +14,7 @@ type
processes {.guard: lock.}: array[0..MAX_WORKERS-1, foreign ptr Process]
# Hold a lock for a statement.
template hold(lock: Lock, body: stmt) =
template hold(lock: Lock, body: untyped) =
lock.acquire
defer: lock.release
{.locks: [lock].}: