summary refs log tree commit diff stats
path: root/tests/lexer/tident.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2015-10-27 23:36:00 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2015-10-27 23:36:00 +0100
commit3892969af4a3c6f509b553f07b2a7f37aa8de967 (patch)
treef4ac158a72b3f520848a479ee4faa8dd68792738 /tests/lexer/tident.nim
parentc7eaa8ae034fc22fcb91770f94e08f7c1ebb9963 (diff)
parentd9415fd5cebdc44385cdd092f2c49060c09e2631 (diff)
downloadNim-3892969af4a3c6f509b553f07b2a7f37aa8de967.tar.gz
Merge branch 'devel'
Diffstat (limited to 'tests/lexer/tident.nim')
-rw-r--r--tests/lexer/tident.nim18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/lexer/tident.nim b/tests/lexer/tident.nim
index 1ed9894c6..68cc01e70 100644
--- a/tests/lexer/tident.nim
+++ b/tests/lexer/tident.nim
@@ -1,12 +1,12 @@
 
 type
-  TIdObj* = object of TObject

-    id*: int                  # unique id; use this for comparisons and not the pointers

-  

-  PIdObj* = ref TIdObj

-  PIdent* = ref TIdent

-  TIdent*{.acyclic.} = object

-    s*: string

+  TIdObj* = object of TObject
+    id*: int                  # unique id; use this for comparisons and not the pointers
+
+  PIdObj* = ref TIdObj
+  PIdent* = ref TIdent
+  TIdent*{.acyclic.} = object
+    s*: string
 
 proc myNewString(L: int): string {.inline.} =
   result = newString(L)
@@ -15,8 +15,8 @@ proc myNewString(L: int): string {.inline.} =
   for i in 0..L-1:
     if result[i] == '\0':
       echo("Correct")
-    else: 
+    else:
       echo("Wrong")
-  
+
 var s = myNewString(8)
 
f='#n182'>182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255