aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
authorgrischka <grischka>2010-01-14 20:58:03 +0100
committergrischka <grischka>2010-01-14 20:59:44 +0100
commit4e5170d4a59a6cadb3d11d918f5dd674141e3266 (patch)
tree0bead08f4d436e581dcdec5f352647afb6d0a00b /tccasm.c
parent280e20b1d3a6c5ef88db4bfb074be771e595179f (diff)
downloadtinycc-4e5170d4a59a6cadb3d11d918f5dd674141e3266.tar.gz
tinycc-4e5170d4a59a6cadb3d11d918f5dd674141e3266.tar.bz2
tccpp: convert TOK_GET macro into function
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tccasm.c b/tccasm.c
index 28161be..d2997a4 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -738,7 +738,8 @@ ST_FUNC int tcc_assemble(TCCState *s1, int do_preprocess)
static void tcc_assemble_inline(TCCState *s1, char *str, int len)
{
BufferedFile *bf, *saved_file;
- int saved_parse_flags, *saved_macro_ptr;
+ int saved_parse_flags;
+ const int *saved_macro_ptr;
bf = tcc_malloc(sizeof(BufferedFile));
memset(bf, 0, sizeof(BufferedFile));