summary refs log tree commit diff stats
path: root/compiler/extccomp.nim
diff options
context:
space:
mode:
authorAudun Wilhelmsen <skyfex@gmail.com>2014-03-18 21:23:35 +0100
committerAudun Wilhelmsen <skyfex@gmail.com>2014-03-18 21:23:35 +0100
commitca228e46b56d98204f8976009a6f4f827008df53 (patch)
treec89f246fedd603157d87970b8f03238c591b5062 /compiler/extccomp.nim
parent1e45bb79ab4beb7a027b403bd78e879975b09963 (diff)
downloadNim-ca228e46b56d98204f8976009a6f4f827008df53.tar.gz
Fix compilation error when using packed pragma with vcc.
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index 02e15f232..f0e5dad11 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -119,7 +119,7 @@ compiler vcc:
     debug: " /GZ /Zi ",
     pic: "",
     asmStmtFrmt: "__asm{$n$1$n}$n",
-    structStmtFmt: "$3$#1 $2",
+    structStmtFmt: "$3$n$1 $2",
     packedPragma: "#pragma pack(1)",
     props: {hasCpp, hasAssume, hasNakedDeclspec})