stage4/generate_c/generate_c_il.cc
changeset 877 c25346eac788
parent 861 443e8243f289
child 885 b2604fc6d25c
equal deleted inserted replaced
876:e2c4f6f4abe2 877:c25346eac788
   702   /* Declare the IL implicit variable, that will store the result of the IL operations... */
   702   /* Declare the IL implicit variable, that will store the result of the IL operations... */
   703   declare_implicit_variable();
   703   declare_implicit_variable();
   704 
   704 
   705   /* Declare the backup to the IL implicit variable, that will store the result of the IL operations executed inside a parenthesis... */
   705   /* Declare the backup to the IL implicit variable, that will store the result of the IL operations executed inside a parenthesis... */
   706   declare_implicit_variable_back();
   706   declare_implicit_variable_back();
   707   /*
   707   
   708   s4o.print(s4o.indent_spaces);
   708   for(int i = 0; i < symbol->n; i++) {
   709   this->implicit_variable_result_back.accept(*this);
   709     print_line_directive(symbol->elements[i]);
   710   s4o.print(".INTvar = 0;\n\n");
   710     s4o.print(s4o.indent_spaces);
   711   */
   711     symbol->elements[i]->accept(*this);
   712   print_list(symbol, s4o.indent_spaces, ";\n" + s4o.indent_spaces, ";\n");
   712     s4o.print(";\n");
       
   713   }
   713   return NULL;
   714   return NULL;
   714 }
   715 }
   715 
   716 
   716 
   717 
   717 /* | label ':' [il_incomplete_instruction] eol_list */
   718 /* | label ':' [il_incomplete_instruction] eol_list */