summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-06-16 11:39:58 +0200
committerAraq <rumpf_a@web.de>2020-06-19 10:32:16 +0200
commit522bc8dda1f36ffe5f14eb6b1bfdba215b45b139 (patch)
treefe1a053055617d9bf34344c5750ba79c51a86cae /compiler
parent5ad8b9e8ebb2e21e20484afbaffa9450715079cd (diff)
downloadNim-522bc8dda1f36ffe5f14eb6b1bfdba215b45b139.tar.gz
added a space
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index bc26defd4..9639f52d3 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -1294,7 +1294,7 @@ proc newIntTypeNode*(intVal: BiggestInt, typ: PType): PNode =
   of tyUInt16:  result = newNode(nkUInt16Lit)
   of tyUInt32:  result = newNode(nkUInt32Lit)
   of tyUInt64:  result = newNode(nkUInt64Lit)
-  of tyBool,tyEnum:
+  of tyBool, tyEnum:
     # XXX: does this really need to be the kind nkIntLit?
     result = newNode(nkIntLit)
   of tyStatic: # that's a pre-existing bug, will fix in another PR