merge
authormjsousa
Sun, 16 Nov 2014 15:37:12 +0000
changeset 947 aca1ab9fcb6d
parent 944 d6d9211e9aab (diff)
parent 946 c012a64dc2fa (current diff)
child 948 543f8319bdf8
child 960 27063736913f
merge
stage4/generate_c/generate_c_base.cc
--- a/stage4/generate_c/generate_c_base.cc	Sun Nov 16 14:46:52 2014 +0000
+++ b/stage4/generate_c/generate_c_base.cc	Sun Nov 16 15:37:12 2014 +0000
@@ -669,7 +669,7 @@
 void *visit(direct_variable_c *symbol) {
   TRACE("direct_variable_c");
   /* Do not use print_token() as it will change everything into uppercase */
-  return s4o.printlocation(symbol->value);
+  return s4o.printlocation(symbol->value+1); // '+1' so we do not print the '%' in '%IW3.2'
 }