Correct bug on location list generation
authorlbessard
Tue, 29 May 2007 09:45:50 +0200
changeset 31 c6959b0f539d
parent 30 83201ec94ef4
child 32 289256ec66f1
Correct bug on location list generation
stage4/generate_cc/generate_location_list.cc
--- a/stage4/generate_cc/generate_location_list.cc	Fri May 18 14:11:09 2007 +0200
+++ b/stage4/generate_cc/generate_location_list.cc	Tue May 29 09:45:50 2007 +0200
@@ -121,7 +121,7 @@
       current_var_type_symbol->accept(*generate_cc_base);
       s4o.print(" ");
       /* Do not use print_token() as it will change everything into uppercase */
-      s4o.printlocation(symbol->value);
+      s4o.printlocation((symbol->value)+1);
       s4o.print("\n");
       return NULL;
     }