diff c67-gen.c @ 557:9efc5fedd108

Make c67 compile again. (If anybody knows what C67 _is_, I'm a bit curious...)
author Rob Landley <rob@landley.net>
date Thu, 06 Mar 2008 21:41:25 -0600
parents 3f683703c8db
children
line wrap: on
line diff
--- a/c67-gen.c	Thu Mar 06 21:20:30 2008 -0600
+++ b/c67-gen.c	Thu Mar 06 21:41:25 2008 -0600
@@ -1952,7 +1952,7 @@
     /* define parameters */
     while ((sym = sym->next) != NULL) {
 	type = &sym->type;
-	sym_push(sym->v & ~SYM_FIELD, type, VT_LOCAL | VT_LVAL, addr);
+	sym_push(sym->token & ~SYM_FIELD, type, VT_LOCAL | VT_LVAL, addr);
 	size = type_size(type, &align);
 	size = (size + 3) & ~3;