stage4/generate_iec/generate_iec.cc
changeset 805 b737cfc92614
parent 690 6156ee2b4e32
child 810 d9c48ad646f1
equal deleted inserted replaced
798:d21e598b0b75 805:b737cfc92614
   720 /* EN : BOOL := 1 */
   720 /* EN : BOOL := 1 */
   721 void *visit(en_param_declaration_c *symbol) {
   721 void *visit(en_param_declaration_c *symbol) {
   722   if (typeid(*(symbol->method)) == typeid(explicit_definition_c)) {
   722   if (typeid(*(symbol->method)) == typeid(explicit_definition_c)) {
   723     symbol->name->accept(*this);
   723     symbol->name->accept(*this);
   724     s4o.print(" : ");
   724     s4o.print(" : ");
   725     symbol->type->accept(*this);
   725     symbol->type_decl->accept(*this);
   726     s4o.print(" := ");
       
   727     symbol->value->accept(*this);
       
   728   }
   726   }
   729   return NULL;
   727   return NULL;
   730 }
   728 }
   731 
   729 
   732 /* ENO : BOOL */
   730 /* ENO : BOOL */