diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-02 19:22:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:01:41 -0700 |
commit | 1ff960b29aace99f69979fc78cf5ef204e1262a6 (patch) | |
tree | af3616af10dc862638c0dc51717358c7f7f0159d /symbol.c | |
parent | Now that BITS_IN_XXXX aren't defined contstants any more, (diff) | |
download | sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.gz sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.bz2 sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.zip |
Initialize C type system after parsing the command line arguments.
This makes "-m64" actually work.
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -524,7 +524,6 @@ void init_symbols(void) { int stream = init_stream("builtin", -1); struct sym_init *ptr; - struct ctype_declare *ctype; hash_ident(&sizeof_ident); hash_ident(&alignof_ident); @@ -570,6 +569,11 @@ void init_symbols(void) sym->ctype.modifiers = ptr->modifiers; sym->op = ptr->op; } +} + +void init_ctype(void) +{ + struct ctype_declare *ctype; ptr_ctype.type = SYM_PTR; string_ctype.type = SYM_PTR; |