aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorjiang <30155751@qq.com>2014-05-02 11:23:54 +0800
committerjiang <30155751@qq.com>2014-05-02 11:23:54 +0800
commit6c8207633fd42e420e32bdf4912be9fbf307f5ad (patch)
treef2bf62fb1288ac5fe026d2d6a54447e733154bb1 /tccgen.c
parent5b52a44b524916bf564a9c399ce536a7ea5b5201 (diff)
downloadtinycc-6c8207633fd42e420e32bdf4912be9fbf307f5ad.tar.gz
tinycc-6c8207633fd42e420e32bdf4912be9fbf307f5ad.tar.bz2
Fixes include the double quotes bug
Added push_macro, pop_macro support Fix pack bug, when output with-E will pack the bug
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tccgen.c b/tccgen.c
index b8721b1..456005e 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -5244,13 +5244,13 @@ static void init_putz(CType *t, Section *sec, unsigned long c, int size)
#ifndef TCC_TARGET_X86_64
vpush_global_sym(&func_old_type, TOK_memset);
vseti(VT_LOCAL, c);
-#ifdef TCC_TARGET_ARM
+# ifdef TCC_TARGET_ARM
vpushs(size);
vpushi(0);
-#else
+# else
vpushi(0);
vpushs(size);
-#endif
+# endif
gfunc_call(3);
#else
vseti(VT_LOCAL, c);