equal
deleted
inserted
replaced
116 /********************************************/ |
116 /********************************************/ |
117 /* B.1.4.1 Directly Represented Variables */ |
117 /* B.1.4.1 Directly Represented Variables */ |
118 /********************************************/ |
118 /********************************************/ |
119 |
119 |
120 void *visit(direct_variable_c *symbol) { |
120 void *visit(direct_variable_c *symbol) { |
121 s4o.print("__LOCATED_VAR("); |
121 if (current_var_type_symbol) { |
122 current_var_type_symbol->accept(*generate_cc_base); |
122 s4o.print("__LOCATED_VAR("); |
123 s4o.print(","); |
123 current_var_type_symbol->accept(*generate_cc_base); |
124 /* Do not use print_token() as it will change everything into uppercase */ |
124 s4o.print(","); |
125 s4o.printlocation((symbol->value)+1); |
125 /* Do not use print_token() as it will change everything into uppercase */ |
126 s4o.print(","); |
126 s4o.printlocation((symbol->value)+1); |
127 s4o.printlocation_comasep((symbol->value)+1); |
127 s4o.print(","); |
128 s4o.print(")\n"); |
128 s4o.printlocation_comasep((symbol->value)+1); |
|
129 s4o.print(")\n"); |
|
130 } |
129 return NULL; |
131 return NULL; |
130 } |
132 } |
131 |
133 |
132 |
134 |
133 /********************************************/ |
135 /********************************************/ |