Minor feedback
This commit is contained in:
parent
b0eba35834
commit
619cbc5467
3 changed files with 3 additions and 3 deletions
|
|
@ -9,6 +9,6 @@ when defined(MacOSX):
|
||||||
else:
|
else:
|
||||||
switch("gcc.linkerexe", "g++")
|
switch("gcc.linkerexe", "g++")
|
||||||
|
|
||||||
# Workaround for NilAccessError crash on Windows
|
# Workaround for NilAccessError crash on Windows #98
|
||||||
when defined(Windows):
|
when defined(Windows):
|
||||||
switch("gc", "markAndSweep")
|
switch("gc", "markAndSweep")
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import segfaults, sequtils, sets, tables
|
import sequtils, sets, tables
|
||||||
|
|
||||||
import regex
|
import regex
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ template enumOp*(op, typ, typout) =
|
||||||
proc op*(x: int, y: typ): typout {.borrow.}
|
proc op*(x: int, y: typ): typout {.borrow.}
|
||||||
proc op*(x, y: typ): typout {.borrow.}
|
proc op*(x, y: typ): typout {.borrow.}
|
||||||
|
|
||||||
template defineEnum*(typ: untyped) =
|
template defineEnum*(typ) =
|
||||||
type
|
type
|
||||||
typ* = distinct int
|
typ* = distinct int
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue