stage4/generate_c/decompose_var_instance_name.cc
changeset 98 d0cdf1d00b74
parent 70 e1f0ebd2d9ec
equal deleted inserted replaced
97:55ffcf693d6d 98:d0cdf1d00b74
   114        */
   114        */
   115 
   115 
   116       /* The correct code, is therefore more complex... */
   116       /* The correct code, is therefore more complex... */
   117       if (next_variable_name == symbol) {
   117       if (next_variable_name == symbol) {
   118         /* NOTE: field_selector is always an identifier_c,
   118         /* NOTE: field_selector is always an identifier_c,
   119 	 * so we do not have to recursevily visit it again...
   119          * so we do not have to recursevily visit it again...
   120 	 * return (void *)symbol->field_selector->accept(*this);  -> NOT REQUIRED!!
   120          * return (void *)symbol->field_selector->accept(*this);  -> NOT REQUIRED!!
   121 	 */
   121          */
   122 	return (void *)symbol->field_selector;
   122          return (void *)symbol->field_selector;
   123       }
   123       }
   124 
   124 
   125       current_recursive_variable_name = symbol;
   125       current_recursive_variable_name = symbol;
   126       return symbol->record_variable->accept(*this);
   126       return symbol->record_variable->accept(*this);
   127     }
   127     }