Minor feedback

This commit is contained in:
Ganesh Viswanathan 2019-01-30 22:34:03 -06:00
commit 619cbc5467
3 changed files with 3 additions and 3 deletions

View file

@ -9,6 +9,6 @@ when defined(MacOSX):
else:
switch("gcc.linkerexe", "g++")
# Workaround for NilAccessError crash on Windows
# Workaround for NilAccessError crash on Windows #98
when defined(Windows):
switch("gc", "markAndSweep")

View file

@ -1,4 +1,4 @@
import segfaults, sequtils, sets, tables
import sequtils, sets, tables
import regex

View file

@ -37,7 +37,7 @@ template enumOp*(op, typ, typout) =
proc op*(x: int, y: typ): typout {.borrow.}
proc op*(x, y: typ): typout {.borrow.}
template defineEnum*(typ: untyped) =
template defineEnum*(typ) =
type
typ* = distinct int