summary refs log tree commit diff stats
path: root/tests/enum/toptions.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/enum/toptions.nim')
-rw-r--r--tests/enum/toptions.nim36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/enum/toptions.nim b/tests/enum/toptions.nim
index 3c841de2c..e53acb2b3 100644
--- a/tests/enum/toptions.nim
+++ b/tests/enum/toptions.nim
@@ -1,18 +1,18 @@
-

-type

-  # please make sure we have under 32 options (improves code efficiency!)

-  TOption = enum

-    optNone, optForceFullMake, optBoehmGC, optRefcGC, optRangeCheck,

-    optBoundsCheck, optOverflowCheck, optNilCheck, optAssert, optLineDir,

-    optWarns, optHints, optDeadCodeElim, optListCmd, optCompileOnly,

-    optSafeCode,             # only allow safe code

-    optStyleCheck, optOptimizeSpeed, optOptimizeSize, optGenDynLib,

-    optGenGuiApp, optStackTrace

-

-  TOptionset = set[TOption]

-

-var

-  gOptions: TOptionset = {optRefcGC, optRangeCheck, optBoundsCheck,

-    optOverflowCheck, optAssert, optWarns, optHints, optLineDir, optStackTrace}

-  compilerArgs: int

-  gExitcode: int8

+
+type
+  # please make sure we have under 32 options (improves code efficiency!)
+  TOption = enum
+    optNone, optForceFullMake, optBoehmGC, optRefcGC, optRangeCheck,
+    optBoundsCheck, optOverflowCheck, optNilCheck, optAssert, optLineDir,
+    optWarns, optHints, optDeadCodeElim, optListCmd, optCompileOnly,
+    optSafeCode,             # only allow safe code
+    optStyleCheck, optOptimizeSpeed, optOptimizeSize, optGenDynLib,
+    optGenGuiApp, optStackTrace
+
+  TOptionset = set[TOption]
+
+var
+  gOptions: TOptionset = {optRefcGC, optRangeCheck, optBoundsCheck,
+    optOverflowCheck, optAssert, optWarns, optHints, optLineDir, optStackTrace}
+  compilerArgs: int
+  gExitcode: int8
vision' href='/gbmor/getwtxt/blame/.travis.yml?h=v0.4.10&id=eb33ceb75e6f7b385dac52821f14452c786099a2'>^
c5daf91 ^
fff90c7 ^
c2af133 ^
99d2df6 ^


c5daf91 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29