stage4/generate_c/search_constant_type.cc
changeset 177 697562a5da7c
parent 152 efc510145ab2
equal deleted inserted replaced
176:bef3cc16c064 177:697562a5da7c
    65   static int_type_name_c     int_type_name;
    65   static int_type_name_c     int_type_name;
    66 
    66 
    67   static constant_real_type_name_c     constant_real_type_name;
    67   static constant_real_type_name_c     constant_real_type_name;
    68   static constant_int_type_name_c      constant_int_type_name;
    68   static constant_int_type_name_c      constant_int_type_name;
    69   static direct_variable_type_name_c   direct_variable_type_name;
    69   static direct_variable_type_name_c   direct_variable_type_name;
       
    70 
       
    71   /******************************************************/
       
    72   /* Extensions to the base standard as defined in      */
       
    73   /* "Safety Software Technical Specification,          */
       
    74   /*  Part 1: Concepts and Function Blocks,             */
       
    75   /*  Version 1.0 – Official Release"                   */
       
    76   /* by PLCopen - Technical Committee 5 - 2006-01-31    */
       
    77   /******************************************************/
       
    78   static safebool_type_name_c safebool_type_name;
       
    79 
    70 
    80 
    71   public:
    81   public:
    72     symbol_c *get_type(symbol_c *constant) {
    82     symbol_c *get_type(symbol_c *constant) {
    73       return (symbol_c *)constant->accept(*this);
    83       return (symbol_c *)constant->accept(*this);
    74     }
    84     }