stage4/generate_c/generate_c_base.cc
changeset 177 697562a5da7c
parent 160 59d58f5e6caa
child 202 da1a8186f86f
equal deleted inserted replaced
176:bef3cc16c064 177:697562a5da7c
   534     void *visit(word_type_name_c *symbol) {s4o.print("WORD"); return NULL;}
   534     void *visit(word_type_name_c *symbol) {s4o.print("WORD"); return NULL;}
   535     void *visit(lword_type_name_c *symbol) {s4o.print("LWORD"); return NULL;}
   535     void *visit(lword_type_name_c *symbol) {s4o.print("LWORD"); return NULL;}
   536     void *visit(dword_type_name_c *symbol) {s4o.print("DWORD"); return NULL;}
   536     void *visit(dword_type_name_c *symbol) {s4o.print("DWORD"); return NULL;}
   537     void *visit(string_type_name_c *symbol) {s4o.print("STRING"); return NULL;}
   537     void *visit(string_type_name_c *symbol) {s4o.print("STRING"); return NULL;}
   538     void *visit(wstring_type_name_c *symbol) {s4o.print("WSTRING"); return NULL;}
   538     void *visit(wstring_type_name_c *symbol) {s4o.print("WSTRING"); return NULL;}
       
   539     /******************************************************/
       
   540     /* Extensions to the base standard as defined in      */
       
   541     /* "Safety Software Technical Specification,          */
       
   542     /*  Part 1: Concepts and Function Blocks,             */
       
   543     /*  Version 1.0 – Official Release"                   */
       
   544     /* by PLCopen - Technical Committee 5 - 2006-01-31    */
       
   545     /******************************************************/
       
   546     void *visit(safebool_type_name_c *symbol) {s4o.print("SAFEBOOL"); return NULL;}
   539 
   547 
   540 /********************************/
   548 /********************************/
   541 /* B.1.3.2 - Generic data types */
   549 /* B.1.3.2 - Generic data types */
   542 /********************************/
   550 /********************************/
   543   /* originally empty... */
   551   /* originally empty... */
   670 /********************************/
   678 /********************************/
   671 /* B 3.2.4 Iteration Statements */
   679 /* B 3.2.4 Iteration Statements */
   672 /********************************/
   680 /********************************/
   673   /* leave for derived classes... */
   681   /* leave for derived classes... */
   674 
   682 
       
   683 
   675 }; /* class generate_c_basic_c */
   684 }; /* class generate_c_basic_c */
   676 
   685 
   677 
   686 
   678 
   687 
   679 
   688