diff i386/asm.c @ 551:d8b3fa09ca5d

One of the members of "struct Sym" is a token. Rename it from "v" to "token", and change local variables it's copied into from "v" to "token" as well.
author Rob Landley <rob@landley.net>
date Thu, 17 Jan 2008 23:26:25 -0600
parents f304c7e3de8d
children 4533aa54ffcf
line wrap: on
line diff
--- a/i386/asm.c	Thu Jan 17 22:59:03 2008 -0600
+++ b/i386/asm.c	Thu Jan 17 23:26:25 2008 -0600
@@ -1022,7 +1022,7 @@
         if (!(r & VT_LVAL) && modifier != 'c' && modifier != 'n')
             cstr_ccat(add_str, '$');
         if (r & VT_SYM) {
-            cstr_cat(add_str, get_tok_str(sv->sym->v, NULL));
+            cstr_cat(add_str, get_tok_str(sv->sym->token, NULL));
             if (sv->c.i != 0) {
                 cstr_ccat(add_str, '+');
             } else {