stage4/generate_cc/il_code_gen.c
author etisserant
Fri, 13 Jul 2007 19:20:26 +0200
changeset 41 8998c8b24b60
parent 40 873a5b60a7ea
child 42 b45c7f34dec1
permissions -rw-r--r--
First working IEC std lib test, actually test from string and to_string functions.
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     1
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     2
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     3
 * IEC 61131-3 standard function lib
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     4
 * generated code, do not edit by hand
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     5
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     6
switch(current_function_type){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     7
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
     8
/****
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
     9
 *BOOL_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    10
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    11
    case function_bool_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    12
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    13
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    14
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    15
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    16
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    17
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    18
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    19
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    20
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    21
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    22
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    23
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    24
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    25
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    26
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    27
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    28
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    29
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    30
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    31
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    32
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    33
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    34
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    35
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    36
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    37
    }/*function_bool_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    38
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    39
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    40
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    41
 *BOOL_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    42
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    43
    case function_bool_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    44
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    45
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    46
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    47
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    48
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    49
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    50
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    51
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    52
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    53
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    54
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    55
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    56
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    57
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    58
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    59
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    60
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    61
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    62
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    63
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    64
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    65
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    66
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    67
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    68
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    69
    }/*function_bool_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    70
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    71
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    72
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    73
 *BOOL_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    74
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    75
    case function_bool_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    76
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    77
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    78
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    79
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    80
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    81
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    82
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    83
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    84
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    85
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    86
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    87
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    88
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    89
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    90
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    91
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    92
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    93
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    94
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    95
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    96
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    97
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    98
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
    99
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   100
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   101
    }/*function_bool_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   102
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   103
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   104
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   105
 *BOOL_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   106
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   107
    case function_bool_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   108
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   109
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   110
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   111
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   112
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   113
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   114
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   115
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   116
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   117
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   118
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   119
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   120
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   121
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   122
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   123
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   124
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   125
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   126
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   127
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   128
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   129
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   130
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   131
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   132
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   133
    }/*function_bool_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   134
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   135
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   136
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   137
 *BOOL_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   138
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   139
    case function_bool_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   140
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   141
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   142
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   143
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   144
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   145
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   146
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   147
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   148
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   149
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   150
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   151
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   152
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   153
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   154
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   155
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   156
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   157
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   158
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   159
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   160
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   161
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   162
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   163
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   164
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   165
    }/*function_bool_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   166
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   167
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   168
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   169
 *BOOL_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   170
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   171
    case function_bool_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   172
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   173
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   174
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   175
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   176
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   177
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   178
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   179
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   180
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   181
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   182
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   183
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   184
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   185
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   186
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   187
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   188
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   189
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   190
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   191
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   192
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   193
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   194
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   195
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   196
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   197
    }/*function_bool_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   198
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   199
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   200
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   201
 *BOOL_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   202
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   203
    case function_bool_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   204
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   205
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   206
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   207
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   208
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   209
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   210
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   211
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   212
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   213
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   214
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   215
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   216
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   217
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   218
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   219
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   220
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   221
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   222
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   223
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   224
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   225
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   226
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   227
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   228
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   229
    }/*function_bool_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   230
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   231
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   232
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   233
 *BOOL_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   234
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   235
    case function_bool_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   236
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   237
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   238
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   239
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   240
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   241
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   242
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   243
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   244
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   245
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   246
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   247
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   248
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   249
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   250
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   251
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   252
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   253
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   254
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   255
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   256
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   257
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   258
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   259
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   260
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   261
    }/*function_bool_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   262
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   263
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   264
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   265
 *BOOL_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   266
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   267
    case function_bool_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   268
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   269
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   270
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   271
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   272
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   273
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   274
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   275
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   276
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   277
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   278
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   279
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   280
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   281
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   282
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   283
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   284
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   285
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   286
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   287
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   288
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   289
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   290
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   291
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   292
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   293
    }/*function_bool_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   294
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   295
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   296
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   297
 *BOOL_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   298
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   299
    case function_bool_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   300
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   301
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   302
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   303
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   304
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   305
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   306
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   307
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   308
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   309
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   310
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   311
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   312
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   313
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   314
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   315
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   316
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   317
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   318
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   319
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   320
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   321
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   322
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   323
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   324
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   325
    }/*function_bool_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   326
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   327
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   328
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   329
 *BOOL_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   330
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   331
    case function_bool_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   332
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   333
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   334
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   335
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   336
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   337
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   338
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   339
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   340
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   341
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   342
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   343
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   344
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   345
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   346
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   347
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   348
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   349
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   350
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   351
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   352
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   353
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   354
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   355
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   356
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   357
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   358
    }/*function_bool_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   359
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   360
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   361
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   362
 *BOOL_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   363
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   364
    case function_bool_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   365
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   366
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   367
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   368
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   369
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   370
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   371
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   372
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   373
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   374
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   375
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   376
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   377
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   378
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   379
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   380
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   381
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   382
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   383
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   384
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   385
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   386
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   387
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   388
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   389
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   390
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   391
    }/*function_bool_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   392
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   393
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   394
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   395
 *BOOL_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   396
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   397
    case function_bool_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   398
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   399
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   400
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   401
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   402
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   403
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   404
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   405
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   406
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   407
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   408
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   409
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   410
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   411
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   412
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   413
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   414
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   415
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   416
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   417
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   418
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   419
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   420
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   421
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   422
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   423
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   424
    }/*function_bool_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   425
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   426
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   427
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   428
 *BOOL_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   429
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   430
    case function_bool_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   431
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   432
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   433
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   434
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   435
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   436
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   437
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   438
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   439
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   440
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   441
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   442
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   443
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   444
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   445
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   446
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   447
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   448
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   449
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   450
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   451
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   452
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   453
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   454
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   455
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   456
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   457
    }/*function_bool_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   458
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   459
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   460
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   461
 *BOOL_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   462
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   463
    case function_bool_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   464
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   465
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   466
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   467
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   468
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   469
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   470
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   471
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   472
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   473
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   474
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   475
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   476
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   477
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   478
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   479
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   480
                s4o.print(")__bool_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   481
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   482
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   483
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   484
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   485
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   486
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   487
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   488
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   489
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   490
    }/*function_bool_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   491
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   492
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   493
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   494
 *BOOL_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   495
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   496
    case function_bool_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   497
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   498
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   499
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   500
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   501
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   502
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   503
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   504
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   505
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   506
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   507
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   508
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   509
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   510
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   511
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   512
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   513
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   514
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   515
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   516
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   517
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   518
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   519
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   520
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   521
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   522
    }/*function_bool_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   523
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   524
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   525
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   526
 *BOOL_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   527
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   528
    case function_bool_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   529
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   530
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   531
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   532
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   533
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   534
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   535
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   536
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   537
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   538
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   539
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   540
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   541
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   542
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   543
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   544
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   545
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   546
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   547
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   548
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   549
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   550
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   551
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   552
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   553
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   554
    }/*function_bool_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   555
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   556
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   557
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   558
 *BOOL_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   559
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   560
    case function_bool_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   561
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   562
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   563
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   564
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   565
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   566
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   567
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   568
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   569
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   570
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   571
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   572
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   573
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   574
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   575
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   576
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   577
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   578
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   579
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   580
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   581
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   582
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   583
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   584
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   585
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   586
    }/*function_bool_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   587
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   588
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   589
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   590
 *BOOL_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   591
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   592
    case function_bool_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   593
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   594
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   595
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   596
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   597
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   598
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   599
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   600
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   601
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   602
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   603
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   604
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   605
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   606
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   607
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   608
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   609
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   610
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   611
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   612
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   613
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   614
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   615
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   616
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   617
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   618
    }/*function_bool_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   619
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   620
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   621
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   622
 *SINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   623
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   624
    case function_sint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   625
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   626
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   627
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   628
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   629
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   630
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   631
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   632
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   633
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   634
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   635
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   636
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   637
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   638
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   639
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   640
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   641
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   642
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   643
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   644
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   645
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   646
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   647
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   648
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   649
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   650
    }/*function_sint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   651
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   652
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   653
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   654
 *SINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   655
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   656
    case function_sint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   657
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   658
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   659
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   660
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   661
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   662
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   663
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   664
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   665
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   666
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   667
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   668
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   669
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   670
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   671
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   672
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   673
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   674
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   675
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   676
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   677
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   678
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   679
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   680
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   681
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   682
    }/*function_sint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   683
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   684
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   685
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   686
 *SINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   687
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   688
    case function_sint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   689
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   690
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   691
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   692
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   693
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   694
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   695
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   696
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   697
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   698
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   699
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   700
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   701
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   702
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   703
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   704
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   705
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   706
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   707
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   708
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   709
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   710
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   711
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   712
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   713
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   714
    }/*function_sint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   715
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   716
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   717
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   718
 *SINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   719
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   720
    case function_sint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   721
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   722
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   723
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   724
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   725
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   726
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   727
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   728
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   729
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   730
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   731
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   732
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   733
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   734
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   735
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   736
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   737
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   738
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   739
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   740
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   741
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   742
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   743
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   744
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   745
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   746
    }/*function_sint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   747
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   748
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   749
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   750
 *SINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   751
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   752
    case function_sint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   753
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   754
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   755
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   756
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   757
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   758
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   759
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   760
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   761
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   762
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   763
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   764
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   765
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   766
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   767
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   768
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   769
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   770
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   771
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   772
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   773
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   774
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   775
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   776
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   777
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   778
    }/*function_sint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   779
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   780
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   781
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   782
 *SINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   783
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   784
    case function_sint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   785
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   786
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   787
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   788
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   789
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   790
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   791
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   792
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   793
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   794
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   795
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   796
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   797
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   798
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   799
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   800
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   801
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   802
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   803
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   804
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   805
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   806
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   807
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   808
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   809
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   810
    }/*function_sint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   811
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   812
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   813
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   814
 *SINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   815
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   816
    case function_sint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   817
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   818
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   819
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   820
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   821
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   822
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   823
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   824
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   825
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   826
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   827
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   828
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   829
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   830
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   831
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   832
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   833
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   834
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   835
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   836
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   837
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   838
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   839
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   840
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   841
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   842
    }/*function_sint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   843
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   844
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   845
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   846
 *SINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   847
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   848
    case function_sint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   849
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   850
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   851
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   852
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   853
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   854
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   855
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   856
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   857
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   858
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   859
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   860
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   861
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   862
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   863
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   864
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   865
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   866
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   867
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   868
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   869
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   870
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   871
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   872
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   873
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   874
    }/*function_sint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   875
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   876
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   877
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   878
 *SINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   879
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   880
    case function_sint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   881
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   882
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   883
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   884
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   885
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   886
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   887
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   888
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   889
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   890
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   891
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   892
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   893
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   894
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   895
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   896
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   897
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   898
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   899
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   900
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   901
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   902
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   903
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   904
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   905
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   906
    }/*function_sint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   907
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   908
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   909
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   910
 *SINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   911
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   912
    case function_sint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   913
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   914
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   915
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   916
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   917
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   918
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   919
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   920
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   921
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   922
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   923
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   924
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   925
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   926
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   927
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   928
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   929
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   930
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   931
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   932
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   933
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   934
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   935
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   936
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   937
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   938
    }/*function_sint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   939
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   940
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   941
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   942
 *SINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   943
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   944
    case function_sint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   945
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   946
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   947
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   948
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   949
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   950
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   951
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   952
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   953
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   954
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   955
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   956
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   957
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   958
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   959
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   960
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   961
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   962
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   963
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   964
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   965
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   966
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   967
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   968
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   969
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   970
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   971
    }/*function_sint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   972
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   973
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   974
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   975
 *SINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   976
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   977
    case function_sint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   978
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   979
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   980
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   981
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   982
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   983
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   984
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   985
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   986
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   987
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   988
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   989
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   990
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   991
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   992
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   993
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   994
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   995
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   996
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   997
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   998
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
   999
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1000
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1001
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1002
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1003
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1004
    }/*function_sint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1005
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1006
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1007
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1008
 *SINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1009
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1010
    case function_sint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1011
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1012
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1013
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1014
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1015
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1016
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1017
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1018
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1019
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1020
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1021
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1022
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1023
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1024
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1025
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1026
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1027
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1028
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1029
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1030
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1031
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1032
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1033
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1034
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1035
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1036
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1037
    }/*function_sint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1038
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1039
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1040
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1041
 *SINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1042
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1043
    case function_sint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1044
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1045
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1046
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1047
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1048
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1049
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1050
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1051
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1052
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1053
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1054
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1055
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1056
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1057
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1058
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1059
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1060
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1061
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1062
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1063
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1064
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1065
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1066
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1067
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1068
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1069
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1070
    }/*function_sint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1071
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1072
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1073
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1074
 *SINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1075
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1076
    case function_sint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1077
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1078
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1079
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1080
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1081
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1082
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1083
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1084
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1085
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1086
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1087
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1088
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1089
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1090
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1091
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1092
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1093
                s4o.print(")__sint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1094
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1095
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1096
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1097
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1098
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1099
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1100
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1101
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1102
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1103
    }/*function_sint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1104
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1105
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1106
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1107
 *SINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1108
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1109
    case function_sint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1110
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1111
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1112
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1113
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1114
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1115
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1116
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1117
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1118
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1119
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1120
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1121
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1122
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1123
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1124
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1125
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1126
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1127
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1128
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1129
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1130
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1131
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1132
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1133
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1134
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1135
    }/*function_sint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1136
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1137
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1138
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1139
 *SINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1140
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1141
    case function_sint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1142
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1143
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1144
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1145
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1146
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1147
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1148
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1149
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1150
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1151
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1152
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1153
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1154
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1155
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1156
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1157
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1158
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1159
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1160
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1161
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1162
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1163
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1164
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1165
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1166
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1167
    }/*function_sint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1168
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1169
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1170
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1171
 *SINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1172
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1173
    case function_sint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1174
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1175
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1176
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1177
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1178
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1179
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1180
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1181
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1182
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1183
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1184
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1185
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1186
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1187
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1188
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1189
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1190
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1191
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1192
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1193
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1194
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1195
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1196
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1197
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1198
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1199
    }/*function_sint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1200
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1201
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1202
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1203
 *SINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1204
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1205
    case function_sint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1206
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1207
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1208
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1209
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1210
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1211
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1212
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1213
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1214
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1215
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1216
            if (typeid(*last_type_symbol) == typeid(sint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1217
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1218
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1219
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1220
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1221
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1222
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1223
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1224
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1225
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1226
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1227
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1228
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1229
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1230
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1231
    }/*function_sint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1232
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1233
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1234
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1235
 *INT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1236
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1237
    case function_int_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1238
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1239
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1240
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1241
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1242
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1243
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1244
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1245
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1246
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1247
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1248
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1249
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1250
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1251
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1252
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1253
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1254
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1255
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1256
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1257
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1258
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1259
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1260
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1261
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1262
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1263
    }/*function_int_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1264
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1265
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1266
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1267
 *INT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1268
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1269
    case function_int_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1270
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1271
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1272
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1273
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1274
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1275
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1276
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1277
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1278
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1279
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1280
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1281
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1282
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1283
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1284
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1285
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1286
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1287
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1288
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1289
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1290
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1291
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1292
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1293
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1294
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1295
    }/*function_int_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1296
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1297
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1298
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1299
 *INT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1300
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1301
    case function_int_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1302
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1303
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1304
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1305
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1306
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1307
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1308
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1309
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1310
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1311
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1312
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1313
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1314
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1315
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1316
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1317
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1318
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1319
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1320
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1321
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1322
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1323
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1324
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1325
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1326
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1327
    }/*function_int_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1328
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1329
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1330
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1331
 *INT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1332
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1333
    case function_int_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1334
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1335
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1336
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1337
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1338
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1339
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1340
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1341
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1342
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1343
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1344
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1345
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1346
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1347
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1348
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1349
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1350
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1351
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1352
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1353
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1354
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1355
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1356
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1357
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1358
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1359
    }/*function_int_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1360
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1361
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1362
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1363
 *INT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1364
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1365
    case function_int_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1366
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1367
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1368
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1369
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1370
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1371
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1372
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1373
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1374
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1375
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1376
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1377
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1378
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1379
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1380
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1381
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1382
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1383
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1384
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1385
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1386
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1387
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1388
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1389
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1390
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1391
    }/*function_int_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1392
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1393
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1394
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1395
 *INT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1396
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1397
    case function_int_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1398
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1399
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1400
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1401
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1402
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1403
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1404
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1405
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1406
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1407
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1408
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1409
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1410
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1411
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1412
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1413
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1414
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1415
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1416
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1417
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1418
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1419
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1420
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1421
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1422
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1423
    }/*function_int_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1424
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1425
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1426
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1427
 *INT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1428
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1429
    case function_int_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1430
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1431
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1432
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1433
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1434
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1435
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1436
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1437
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1438
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1439
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1440
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1441
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1442
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1443
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1444
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1445
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1446
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1447
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1448
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1449
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1450
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1451
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1452
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1453
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1454
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1455
    }/*function_int_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1456
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1457
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1458
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1459
 *INT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1460
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1461
    case function_int_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1462
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1463
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1464
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1465
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1466
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1467
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1468
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1469
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1470
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1471
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1472
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1473
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1474
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1475
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1476
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1477
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1478
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1479
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1480
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1481
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1482
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1483
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1484
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1485
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1486
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1487
    }/*function_int_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1488
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1489
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1490
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1491
 *INT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1492
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1493
    case function_int_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1494
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1495
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1496
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1497
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1498
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1499
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1500
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1501
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1502
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1503
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1504
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1505
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1506
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1507
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1508
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1509
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1510
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1511
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1512
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1513
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1514
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1515
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1516
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1517
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1518
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1519
    }/*function_int_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1520
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1521
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1522
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1523
 *INT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1524
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1525
    case function_int_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1526
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1527
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1528
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1529
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1530
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1531
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1532
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1533
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1534
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1535
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1536
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1537
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1538
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1539
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1540
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1541
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1542
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1543
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1544
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1545
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1546
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1547
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1548
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1549
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1550
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1551
    }/*function_int_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1552
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1553
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1554
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1555
 *INT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1556
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1557
    case function_int_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1558
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1559
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1560
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1561
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1562
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1563
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1564
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1565
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1566
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1567
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1568
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1569
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1570
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1571
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1572
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1573
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1574
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1575
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1576
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1577
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1578
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1579
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1580
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1581
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1582
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1583
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1584
    }/*function_int_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1585
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1586
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1587
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1588
 *INT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1589
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1590
    case function_int_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1591
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1592
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1593
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1594
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1595
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1596
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1597
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1598
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1599
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1600
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1601
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1602
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1603
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1604
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1605
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1606
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1607
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1608
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1609
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1610
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1611
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1612
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1613
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1614
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1615
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1616
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1617
    }/*function_int_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1618
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1619
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1620
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1621
 *INT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1622
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1623
    case function_int_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1624
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1625
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1626
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1627
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1628
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1629
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1630
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1631
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1632
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1633
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1634
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1635
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1636
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1637
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1638
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1639
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1640
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1641
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1642
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1643
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1644
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1645
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1646
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1647
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1648
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1649
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1650
    }/*function_int_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1651
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1652
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1653
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1654
 *INT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1655
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1656
    case function_int_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1657
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1658
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1659
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1660
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1661
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1662
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1663
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1664
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1665
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1666
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1667
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1668
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1669
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1670
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1671
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1672
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1673
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1674
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1675
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1676
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1677
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1678
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1679
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1680
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1681
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1682
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1683
    }/*function_int_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1684
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1685
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1686
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1687
 *INT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1688
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1689
    case function_int_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1690
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1691
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1692
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1693
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1694
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1695
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1696
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1697
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1698
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1699
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1700
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1701
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1702
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1703
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1704
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1705
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1706
                s4o.print(")__sint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1707
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1708
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1709
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1710
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1711
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1712
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1713
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1714
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1715
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1716
    }/*function_int_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1717
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1718
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1719
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1720
 *INT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1721
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1722
    case function_int_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1723
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1724
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1725
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1726
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1727
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1728
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1729
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1730
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1731
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1732
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1733
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1734
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1735
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1736
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1737
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1738
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1739
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1740
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1741
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1742
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1743
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1744
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1745
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1746
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1747
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1748
    }/*function_int_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1749
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1750
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1751
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1752
 *INT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1753
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1754
    case function_int_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1755
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1756
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1757
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1758
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1759
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1760
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1761
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1762
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1763
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1764
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1765
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1766
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1767
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1768
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1769
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1770
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1771
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1772
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1773
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1774
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1775
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1776
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1777
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1778
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1779
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1780
    }/*function_int_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1781
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1782
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1783
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1784
 *INT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1785
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1786
    case function_int_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1787
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1788
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1789
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1790
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1791
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1792
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1793
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1794
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1795
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1796
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1797
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1798
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1799
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1800
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1801
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1802
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1803
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1804
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1805
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1806
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1807
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1808
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1809
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1810
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1811
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1812
    }/*function_int_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1813
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1814
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1815
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1816
 *INT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1817
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1818
    case function_int_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1819
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1820
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1821
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1822
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1823
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1824
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1825
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1826
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1827
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1828
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1829
            if (typeid(*last_type_symbol) == typeid(int_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1830
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1831
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1832
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1833
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1834
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1835
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1836
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1837
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1838
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1839
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1840
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1841
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1842
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1843
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1844
    }/*function_int_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1845
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1846
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1847
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1848
 *DINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1849
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1850
    case function_dint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1851
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1852
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1853
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1854
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1855
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1856
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1857
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1858
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1859
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1860
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1861
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1862
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1863
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1864
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1865
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1866
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1867
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1868
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1869
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1870
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1871
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1872
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1873
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1874
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1875
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1876
    }/*function_dint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1877
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1878
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1879
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1880
 *DINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1881
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1882
    case function_dint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1883
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1884
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1885
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1886
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1887
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1888
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1889
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1890
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1891
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1892
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1893
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1894
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1895
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1896
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1897
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1898
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1899
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1900
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1901
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1902
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1903
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1904
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1905
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1906
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1907
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1908
    }/*function_dint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1909
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1910
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1911
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1912
 *DINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1913
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1914
    case function_dint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1915
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1916
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1917
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1918
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1919
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1920
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1921
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1922
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1923
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1924
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1925
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1926
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1927
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1928
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1929
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1930
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1931
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1932
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1933
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1934
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1935
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1936
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1937
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1938
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1939
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1940
    }/*function_dint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1941
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1942
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1943
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1944
 *DINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1945
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1946
    case function_dint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1947
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1948
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1949
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1950
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1951
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1952
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1953
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1954
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1955
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1956
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1957
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1958
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1959
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1960
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1961
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1962
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1963
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1964
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1965
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1966
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1967
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1968
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1969
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1970
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1971
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1972
    }/*function_dint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1973
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1974
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1975
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1976
 *DINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1977
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1978
    case function_dint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1979
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1980
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1981
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1982
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1983
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1984
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1985
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1986
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1987
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1988
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1989
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1990
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1991
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1992
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1993
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1994
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1995
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1996
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1997
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1998
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  1999
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2000
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2001
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2002
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2003
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2004
    }/*function_dint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2005
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2006
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2007
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2008
 *DINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2009
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2010
    case function_dint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2011
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2012
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2013
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2014
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2015
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2016
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2017
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2018
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2019
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2020
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2021
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2022
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2023
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2024
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2025
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2026
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2027
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2028
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2029
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2030
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2031
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2032
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2033
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2034
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2035
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2036
    }/*function_dint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2037
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2038
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2039
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2040
 *DINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2041
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2042
    case function_dint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2043
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2044
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2045
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2046
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2047
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2048
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2049
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2050
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2051
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2052
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2053
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2054
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2055
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2056
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2057
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2058
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2059
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2060
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2061
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2062
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2063
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2064
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2065
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2066
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2067
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2068
    }/*function_dint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2069
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2070
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2071
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2072
 *DINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2073
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2074
    case function_dint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2075
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2076
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2077
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2078
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2079
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2080
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2081
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2082
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2083
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2084
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2085
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2086
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2087
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2088
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2089
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2090
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2091
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2092
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2093
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2094
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2095
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2096
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2097
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2098
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2099
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2100
    }/*function_dint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2101
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2102
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2103
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2104
 *DINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2105
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2106
    case function_dint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2107
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2108
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2109
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2110
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2111
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2112
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2113
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2114
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2115
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2116
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2117
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2118
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2119
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2120
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2121
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2122
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2123
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2124
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2125
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2126
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2127
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2128
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2129
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2130
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2131
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2132
    }/*function_dint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2133
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2134
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2135
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2136
 *DINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2137
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2138
    case function_dint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2139
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2140
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2141
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2142
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2143
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2144
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2145
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2146
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2147
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2148
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2149
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2150
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2151
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2152
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2153
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2154
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2155
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2156
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2157
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2158
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2159
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2160
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2161
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2162
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2163
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2164
    }/*function_dint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2165
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2166
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2167
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2168
 *DINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2169
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2170
    case function_dint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2171
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2172
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2173
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2174
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2175
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2176
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2177
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2178
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2179
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2180
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2181
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2182
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2183
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2184
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2185
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2186
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2187
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2188
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2189
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2190
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2191
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2192
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2193
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2194
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2195
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2196
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2197
    }/*function_dint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2198
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2199
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2200
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2201
 *DINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2202
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2203
    case function_dint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2204
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2205
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2206
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2207
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2208
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2209
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2210
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2211
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2212
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2213
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2214
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2215
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2216
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2217
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2218
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2219
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2220
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2221
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2222
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2223
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2224
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2225
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2226
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2227
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2228
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2229
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2230
    }/*function_dint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2231
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2232
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2233
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2234
 *DINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2235
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2236
    case function_dint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2237
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2238
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2239
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2240
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2241
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2242
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2243
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2244
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2245
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2246
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2247
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2248
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2249
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2250
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2251
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2252
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2253
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2254
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2255
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2256
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2257
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2258
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2259
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2260
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2261
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2262
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2263
    }/*function_dint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2264
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2265
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2266
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2267
 *DINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2268
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2269
    case function_dint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2270
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2271
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2272
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2273
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2274
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2275
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2276
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2277
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2278
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2279
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2280
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2281
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2282
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2283
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2284
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2285
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2286
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2287
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2288
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2289
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2290
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2291
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2292
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2293
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2294
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2295
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2296
    }/*function_dint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2297
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2298
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2299
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2300
 *DINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2301
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2302
    case function_dint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2303
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2304
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2305
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2306
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2307
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2308
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2309
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2310
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2311
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2312
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2313
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2314
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2315
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2316
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2317
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2318
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2319
                s4o.print(")__sint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2320
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2321
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2322
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2323
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2324
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2325
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2326
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2327
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2328
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2329
    }/*function_dint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2330
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2331
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2332
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2333
 *DINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2334
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2335
    case function_dint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2336
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2337
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2338
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2339
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2340
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2341
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2342
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2343
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2344
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2345
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2346
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2347
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2348
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2349
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2350
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2351
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2352
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2353
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2354
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2355
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2356
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2357
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2358
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2359
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2360
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2361
    }/*function_dint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2362
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2363
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2364
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2365
 *DINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2366
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2367
    case function_dint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2368
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2369
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2370
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2371
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2372
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2373
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2374
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2375
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2376
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2377
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2378
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2379
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2380
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2381
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2382
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2383
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2384
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2385
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2386
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2387
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2388
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2389
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2390
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2391
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2392
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2393
    }/*function_dint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2394
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2395
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2396
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2397
 *DINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2398
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2399
    case function_dint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2400
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2401
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2402
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2403
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2404
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2405
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2406
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2407
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2408
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2409
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2410
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2411
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2412
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2413
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2414
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2415
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2416
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2417
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2418
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2419
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2420
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2421
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2422
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2423
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2424
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2425
    }/*function_dint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2426
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2427
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2428
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2429
 *DINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2430
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2431
    case function_dint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2432
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2433
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2434
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2435
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2436
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2437
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2438
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2439
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2440
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2441
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2442
            if (typeid(*last_type_symbol) == typeid(dint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2443
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2444
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2445
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2446
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2447
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2448
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2449
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2450
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2451
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2452
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2453
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2454
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2455
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2456
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2457
    }/*function_dint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2458
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2459
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2460
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2461
 *LINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2462
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2463
    case function_lint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2464
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2465
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2466
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2467
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2468
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2469
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2470
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2471
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2472
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2473
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2474
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2475
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2476
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2477
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2478
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2479
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2480
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2481
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2482
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2483
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2484
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2485
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2486
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2487
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2488
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2489
    }/*function_lint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2490
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2491
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2492
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2493
 *LINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2494
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2495
    case function_lint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2496
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2497
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2498
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2499
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2500
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2501
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2502
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2503
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2504
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2505
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2506
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2507
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2508
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2509
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2510
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2511
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2512
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2513
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2514
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2515
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2516
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2517
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2518
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2519
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2520
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2521
    }/*function_lint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2522
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2523
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2524
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2525
 *LINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2526
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2527
    case function_lint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2528
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2529
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2530
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2531
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2532
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2533
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2534
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2535
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2536
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2537
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2538
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2539
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2540
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2541
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2542
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2543
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2544
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2545
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2546
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2547
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2548
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2549
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2550
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2551
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2552
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2553
    }/*function_lint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2554
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2555
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2556
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2557
 *LINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2558
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2559
    case function_lint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2560
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2561
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2562
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2563
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2564
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2565
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2566
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2567
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2568
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2569
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2570
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2571
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2572
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2573
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2574
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2575
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2576
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2577
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2578
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2579
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2580
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2581
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2582
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2583
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2584
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2585
    }/*function_lint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2586
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2587
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2588
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2589
 *LINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2590
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2591
    case function_lint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2592
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2593
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2594
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2595
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2596
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2597
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2598
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2599
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2600
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2601
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2602
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2603
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2604
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2605
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2606
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2607
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2608
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2609
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2610
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2611
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2612
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2613
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2614
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2615
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2616
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2617
    }/*function_lint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2618
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2619
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2620
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2621
 *LINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2622
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2623
    case function_lint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2624
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2625
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2626
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2627
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2628
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2629
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2630
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2631
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2632
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2633
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2634
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2635
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2636
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2637
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2638
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2639
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2640
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2641
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2642
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2643
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2644
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2645
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2646
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2647
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2648
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2649
    }/*function_lint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2650
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2651
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2652
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2653
 *LINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2654
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2655
    case function_lint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2656
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2657
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2658
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2659
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2660
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2661
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2662
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2663
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2664
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2665
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2666
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2667
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2668
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2669
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2670
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2671
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2672
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2673
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2674
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2675
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2676
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2677
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2678
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2679
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2680
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2681
    }/*function_lint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2682
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2683
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2684
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2685
 *LINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2686
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2687
    case function_lint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2688
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2689
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2690
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2691
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2692
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2693
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2694
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2695
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2696
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2697
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2698
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2699
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2700
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2701
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2702
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2703
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2704
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2705
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2706
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2707
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2708
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2709
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2710
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2711
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2712
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2713
    }/*function_lint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2714
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2715
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2716
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2717
 *LINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2718
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2719
    case function_lint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2720
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2721
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2722
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2723
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2724
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2725
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2726
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2727
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2728
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2729
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2730
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2731
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2732
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2733
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2734
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2735
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2736
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2737
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2738
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2739
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2740
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2741
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2742
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2743
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2744
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2745
    }/*function_lint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2746
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2747
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2748
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2749
 *LINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2750
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2751
    case function_lint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2752
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2753
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2754
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2755
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2756
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2757
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2758
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2759
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2760
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2761
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2762
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2763
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2764
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2765
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2766
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2767
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2768
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2769
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2770
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2771
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2772
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2773
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2774
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2775
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2776
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2777
    }/*function_lint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2778
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2779
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2780
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2781
 *LINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2782
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2783
    case function_lint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2784
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2785
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2786
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2787
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2788
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2789
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2790
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2791
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2792
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2793
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2794
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2795
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2796
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2797
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2798
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2799
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2800
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2801
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2802
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2803
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2804
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2805
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2806
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2807
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2808
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2809
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2810
    }/*function_lint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2811
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2812
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2813
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2814
 *LINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2815
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2816
    case function_lint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2817
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2818
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2819
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2820
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2821
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2822
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2823
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2824
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2825
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2826
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2827
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2828
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2829
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2830
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2831
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2832
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2833
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2834
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2835
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2836
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2837
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2838
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2839
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2840
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2841
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2842
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2843
    }/*function_lint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2844
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2845
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2846
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2847
 *LINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2848
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2849
    case function_lint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2850
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2851
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2852
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2853
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2854
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2855
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2856
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2857
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2858
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2859
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2860
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2861
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2862
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2863
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2864
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2865
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2866
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2867
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2868
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2869
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2870
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2871
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2872
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2873
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2874
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2875
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2876
    }/*function_lint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2877
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2878
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2879
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2880
 *LINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2881
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2882
    case function_lint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2883
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2884
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2885
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2886
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2887
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2888
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2889
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2890
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2891
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2892
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2893
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2894
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2895
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2896
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2897
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2898
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2899
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2900
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2901
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2902
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2903
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2904
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2905
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2906
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2907
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2908
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2909
    }/*function_lint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2910
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2911
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2912
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2913
 *LINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2914
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2915
    case function_lint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2916
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2917
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2918
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2919
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2920
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2921
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2922
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2923
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2924
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2925
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2926
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2927
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2928
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2929
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2930
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2931
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2932
                s4o.print(")__sint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2933
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2934
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2935
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2936
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2937
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2938
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2939
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2940
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2941
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2942
    }/*function_lint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2943
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2944
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2945
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2946
 *LINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2947
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2948
    case function_lint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2949
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2950
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2951
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2952
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2953
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2954
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2955
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2956
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2957
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2958
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2959
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2960
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2961
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2962
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2963
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2964
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2965
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2966
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2967
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2968
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2969
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2970
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2971
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2972
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2973
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2974
    }/*function_lint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2975
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2976
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2977
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2978
 *LINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2979
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2980
    case function_lint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2981
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2982
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2983
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2984
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2985
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2986
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2987
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2988
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2989
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2990
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2991
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2992
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2993
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2994
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2995
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2996
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2997
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2998
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  2999
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3000
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3001
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3002
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3003
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3004
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3005
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3006
    }/*function_lint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3007
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3008
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3009
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3010
 *LINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3011
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3012
    case function_lint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3013
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3014
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3015
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3016
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3017
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3018
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3019
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3020
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3021
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3022
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3023
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3024
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3025
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3026
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3027
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3028
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3029
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3030
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3031
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3032
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3033
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3034
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3035
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3036
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3037
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3038
    }/*function_lint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3039
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3040
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3041
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3042
 *LINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3043
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3044
    case function_lint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3045
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3046
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3047
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3048
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3049
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3050
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3051
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3052
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3053
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3054
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3055
            if (typeid(*last_type_symbol) == typeid(lint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3056
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3057
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3058
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3059
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3060
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3061
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3062
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3063
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3064
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3065
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3066
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3067
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3068
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3069
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3070
    }/*function_lint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3071
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3072
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3073
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3074
 *USINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3075
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3076
    case function_usint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3077
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3078
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3079
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3080
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3081
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3082
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3083
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3084
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3085
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3086
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3087
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3088
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3089
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3090
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3091
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3092
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3093
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3094
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3095
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3096
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3097
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3098
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3099
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3100
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3101
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3102
    }/*function_usint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3103
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3104
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3105
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3106
 *USINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3107
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3108
    case function_usint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3109
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3110
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3111
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3112
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3113
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3114
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3115
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3116
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3117
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3118
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3119
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3120
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3121
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3122
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3123
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3124
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3125
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3126
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3127
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3128
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3129
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3130
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3131
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3132
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3133
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3134
    }/*function_usint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3135
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3136
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3137
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3138
 *USINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3139
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3140
    case function_usint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3141
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3142
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3143
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3144
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3145
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3146
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3147
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3148
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3149
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3150
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3151
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3152
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3153
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3154
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3155
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3156
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3157
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3158
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3159
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3160
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3161
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3162
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3163
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3164
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3165
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3166
    }/*function_usint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3167
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3168
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3169
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3170
 *USINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3171
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3172
    case function_usint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3173
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3174
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3175
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3176
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3177
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3178
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3179
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3180
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3181
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3182
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3183
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3184
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3185
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3186
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3187
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3188
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3189
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3190
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3191
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3192
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3193
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3194
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3195
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3196
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3197
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3198
    }/*function_usint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3199
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3200
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3201
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3202
 *USINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3203
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3204
    case function_usint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3205
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3206
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3207
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3208
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3209
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3210
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3211
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3212
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3213
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3214
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3215
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3216
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3217
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3218
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3219
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3220
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3221
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3222
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3223
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3224
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3225
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3226
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3227
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3228
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3229
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3230
    }/*function_usint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3231
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3232
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3233
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3234
 *USINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3235
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3236
    case function_usint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3237
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3238
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3239
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3240
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3241
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3242
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3243
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3244
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3245
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3246
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3247
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3248
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3249
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3250
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3251
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3252
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3253
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3254
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3255
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3256
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3257
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3258
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3259
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3260
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3261
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3262
    }/*function_usint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3263
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3264
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3265
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3266
 *USINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3267
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3268
    case function_usint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3269
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3270
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3271
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3272
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3273
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3274
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3275
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3276
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3277
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3278
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3279
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3280
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3281
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3282
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3283
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3284
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3285
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3286
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3287
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3288
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3289
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3290
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3291
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3292
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3293
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3294
    }/*function_usint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3295
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3296
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3297
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3298
 *USINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3299
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3300
    case function_usint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3301
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3302
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3303
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3304
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3305
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3306
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3307
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3308
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3309
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3310
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3311
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3312
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3313
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3314
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3315
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3316
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3317
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3318
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3319
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3320
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3321
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3322
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3323
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3324
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3325
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3326
    }/*function_usint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3327
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3328
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3329
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3330
 *USINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3331
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3332
    case function_usint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3333
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3334
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3335
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3336
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3337
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3338
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3339
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3340
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3341
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3342
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3343
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3344
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3345
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3346
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3347
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3348
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3349
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3350
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3351
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3352
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3353
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3354
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3355
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3356
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3357
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3358
    }/*function_usint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3359
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3360
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3361
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3362
 *USINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3363
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3364
    case function_usint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3365
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3366
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3367
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3368
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3369
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3370
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3371
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3372
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3373
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3374
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3375
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3376
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3377
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3378
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3379
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3380
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3381
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3382
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3383
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3384
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3385
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3386
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3387
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3388
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3389
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3390
    }/*function_usint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3391
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3392
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3393
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3394
 *USINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3395
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3396
    case function_usint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3397
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3398
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3399
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3400
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3401
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3402
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3403
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3404
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3405
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3406
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3407
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3408
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3409
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3410
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3411
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3412
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3413
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3414
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3415
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3416
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3417
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3418
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3419
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3420
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3421
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3422
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3423
    }/*function_usint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3424
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3425
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3426
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3427
 *USINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3428
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3429
    case function_usint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3430
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3431
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3432
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3433
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3434
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3435
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3436
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3437
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3438
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3439
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3440
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3441
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3442
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3443
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3444
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3445
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3446
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3447
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3448
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3449
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3450
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3451
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3452
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3453
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3454
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3455
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3456
    }/*function_usint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3457
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3458
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3459
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3460
 *USINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3461
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3462
    case function_usint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3463
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3464
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3465
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3466
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3467
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3468
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3469
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3470
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3471
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3472
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3473
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3474
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3475
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3476
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3477
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3478
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3479
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3480
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3481
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3482
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3483
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3484
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3485
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3486
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3487
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3488
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3489
    }/*function_usint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3490
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3491
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3492
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3493
 *USINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3494
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3495
    case function_usint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3496
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3497
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3498
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3499
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3500
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3501
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3502
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3503
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3504
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3505
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3506
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3507
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3508
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3509
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3510
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3511
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3512
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3513
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3514
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3515
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3516
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3517
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3518
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3519
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3520
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3521
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3522
    }/*function_usint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3523
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3524
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3525
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3526
 *USINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3527
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3528
    case function_usint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3529
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3530
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3531
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3532
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3533
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3534
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3535
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3536
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3537
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3538
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3539
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3540
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3541
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3542
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3543
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3544
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3545
                s4o.print(")__uint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3546
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3547
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3548
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3549
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3550
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3551
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3552
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3553
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3554
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3555
    }/*function_usint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3556
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3557
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3558
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3559
 *USINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3560
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3561
    case function_usint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3562
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3563
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3564
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3565
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3566
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3567
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3568
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3569
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3570
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3571
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3572
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3573
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3574
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3575
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3576
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3577
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3578
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3579
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3580
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3581
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3582
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3583
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3584
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3585
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3586
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3587
    }/*function_usint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3588
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3589
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3590
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3591
 *USINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3592
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3593
    case function_usint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3594
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3595
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3596
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3597
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3598
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3599
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3600
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3601
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3602
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3603
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3604
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3605
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3606
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3607
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3608
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3609
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3610
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3611
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3612
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3613
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3614
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3615
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3616
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3617
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3618
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3619
    }/*function_usint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3620
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3621
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3622
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3623
 *USINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3624
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3625
    case function_usint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3626
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3627
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3628
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3629
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3630
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3631
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3632
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3633
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3634
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3635
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3636
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3637
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3638
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3639
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3640
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3641
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3642
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3643
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3644
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3645
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3646
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3647
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3648
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3649
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3650
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3651
    }/*function_usint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3652
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3653
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3654
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3655
 *USINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3656
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3657
    case function_usint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3658
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3659
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3660
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3661
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3662
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3663
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3664
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3665
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3666
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3667
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3668
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3669
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3670
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3671
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3672
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3673
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3674
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3675
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3676
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3677
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3678
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3679
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3680
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3681
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3682
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3683
    }/*function_usint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3684
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3685
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3686
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3687
 *UINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3688
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3689
    case function_uint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3690
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3691
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3692
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3693
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3694
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3695
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3696
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3697
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3698
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3699
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3700
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3701
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3702
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3703
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3704
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3705
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3706
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3707
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3708
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3709
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3710
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3711
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3712
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3713
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3714
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3715
    }/*function_uint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3716
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3717
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3718
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3719
 *UINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3720
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3721
    case function_uint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3722
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3723
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3724
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3725
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3726
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3727
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3728
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3729
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3730
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3731
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3732
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3733
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3734
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3735
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3736
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3737
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3738
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3739
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3740
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3741
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3742
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3743
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3744
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3745
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3746
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3747
    }/*function_uint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3748
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3749
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3750
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3751
 *UINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3752
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3753
    case function_uint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3754
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3755
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3756
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3757
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3758
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3759
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3760
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3761
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3762
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3763
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3764
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3765
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3766
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3767
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3768
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3769
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3770
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3771
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3772
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3773
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3774
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3775
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3776
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3777
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3778
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3779
    }/*function_uint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3780
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3781
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3782
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3783
 *UINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3784
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3785
    case function_uint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3786
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3787
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3788
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3789
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3790
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3791
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3792
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3793
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3794
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3795
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3796
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3797
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3798
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3799
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3800
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3801
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3802
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3803
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3804
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3805
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3806
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3807
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3808
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3809
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3810
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3811
    }/*function_uint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3812
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3813
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3814
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3815
 *UINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3816
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3817
    case function_uint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3818
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3819
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3820
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3821
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3822
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3823
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3824
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3825
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3826
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3827
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3828
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3829
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3830
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3831
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3832
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3833
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3834
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3835
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3836
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3837
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3838
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3839
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3840
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3841
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3842
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3843
    }/*function_uint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3844
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3845
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3846
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3847
 *UINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3848
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3849
    case function_uint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3850
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3851
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3852
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3853
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3854
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3855
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3856
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3857
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3858
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3859
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3860
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3861
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3862
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3863
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3864
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3865
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3866
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3867
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3868
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3869
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3870
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3871
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3872
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3873
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3874
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3875
    }/*function_uint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3876
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3877
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3878
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3879
 *UINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3880
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3881
    case function_uint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3882
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3883
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3884
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3885
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3886
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3887
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3888
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3889
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3890
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3891
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3892
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3893
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3894
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3895
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3896
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3897
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3898
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3899
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3900
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3901
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3902
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3903
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3904
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3905
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3906
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3907
    }/*function_uint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3908
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3909
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3910
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3911
 *UINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3912
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3913
    case function_uint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3914
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3915
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3916
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3917
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3918
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3919
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3920
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3921
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3922
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3923
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3924
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3925
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3926
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3927
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3928
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3929
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3930
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3931
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3932
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3933
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3934
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3935
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3936
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3937
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3938
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3939
    }/*function_uint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3940
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3941
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3942
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3943
 *UINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3944
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3945
    case function_uint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3946
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3947
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3948
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3949
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3950
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3951
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3952
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3953
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3954
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3955
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3956
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3957
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3958
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3959
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3960
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3961
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3962
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3963
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3964
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3965
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3966
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3967
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3968
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3969
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3970
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3971
    }/*function_uint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3972
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3973
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3974
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3975
 *UINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3976
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3977
    case function_uint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3978
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3979
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3980
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3981
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3982
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3983
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3984
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3985
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3986
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3987
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3988
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3989
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3990
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3991
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3992
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3993
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3994
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3995
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3996
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3997
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3998
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  3999
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4000
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4001
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4002
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4003
    }/*function_uint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4004
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4005
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4006
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4007
 *UINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4008
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4009
    case function_uint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4010
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4011
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4012
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4013
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4014
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4015
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4016
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4017
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4018
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4019
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4020
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4021
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4022
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4023
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4024
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4025
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4026
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4027
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4028
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4029
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4030
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4031
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4032
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4033
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4034
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4035
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4036
    }/*function_uint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4037
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4038
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4039
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4040
 *UINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4041
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4042
    case function_uint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4043
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4044
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4045
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4046
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4047
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4048
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4049
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4050
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4051
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4052
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4053
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4054
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4055
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4056
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4057
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4058
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4059
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4060
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4061
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4062
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4063
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4064
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4065
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4066
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4067
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4068
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4069
    }/*function_uint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4070
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4071
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4072
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4073
 *UINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4074
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4075
    case function_uint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4076
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4077
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4078
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4079
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4080
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4081
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4082
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4083
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4084
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4085
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4086
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4087
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4088
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4089
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4090
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4091
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4092
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4093
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4094
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4095
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4096
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4097
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4098
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4099
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4100
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4101
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4102
    }/*function_uint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4103
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4104
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4105
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4106
 *UINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4107
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4108
    case function_uint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4109
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4110
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4111
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4112
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4113
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4114
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4115
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4116
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4117
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4118
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4119
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4120
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4121
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4122
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4123
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4124
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4125
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4126
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4127
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4128
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4129
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4130
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4131
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4132
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4133
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4134
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4135
    }/*function_uint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4136
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4137
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4138
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4139
 *UINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4140
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4141
    case function_uint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4142
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4143
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4144
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4145
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4146
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4147
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4148
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4149
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4150
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4151
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4152
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4153
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4154
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4155
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4156
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4157
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4158
                s4o.print(")__uint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4159
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4160
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4161
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4162
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4163
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4164
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4165
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4166
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4167
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4168
    }/*function_uint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4169
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4170
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4171
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4172
 *UINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4173
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4174
    case function_uint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4175
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4176
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4177
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4178
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4179
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4180
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4181
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4182
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4183
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4184
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4185
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4186
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4187
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4188
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4189
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4190
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4191
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4192
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4193
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4194
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4195
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4196
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4197
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4198
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4199
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4200
    }/*function_uint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4201
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4202
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4203
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4204
 *UINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4205
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4206
    case function_uint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4207
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4208
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4209
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4210
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4211
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4212
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4213
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4214
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4215
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4216
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4217
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4218
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4219
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4220
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4221
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4222
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4223
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4224
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4225
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4226
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4227
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4228
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4229
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4230
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4231
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4232
    }/*function_uint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4233
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4234
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4235
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4236
 *UINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4237
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4238
    case function_uint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4239
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4240
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4241
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4242
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4243
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4244
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4245
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4246
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4247
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4248
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4249
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4250
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4251
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4252
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4253
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4254
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4255
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4256
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4257
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4258
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4259
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4260
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4261
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4262
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4263
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4264
    }/*function_uint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4265
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4266
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4267
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4268
 *UINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4269
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4270
    case function_uint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4271
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4272
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4273
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4274
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4275
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4276
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4277
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4278
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4279
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4280
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4281
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4282
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4283
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4284
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4285
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4286
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4287
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4288
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4289
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4290
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4291
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4292
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4293
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4294
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4295
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4296
    }/*function_uint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4297
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4298
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4299
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4300
 *UDINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4301
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4302
    case function_udint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4303
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4304
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4305
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4306
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4307
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4308
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4309
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4310
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4311
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4312
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4313
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4314
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4315
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4316
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4317
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4318
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4319
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4320
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4321
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4322
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4323
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4324
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4325
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4326
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4327
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4328
    }/*function_udint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4329
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4330
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4331
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4332
 *UDINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4333
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4334
    case function_udint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4335
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4336
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4337
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4338
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4339
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4340
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4341
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4342
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4343
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4344
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4345
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4346
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4347
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4348
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4349
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4350
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4351
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4352
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4353
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4354
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4355
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4356
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4357
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4358
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4359
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4360
    }/*function_udint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4361
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4362
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4363
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4364
 *UDINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4365
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4366
    case function_udint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4367
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4368
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4369
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4370
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4371
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4372
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4373
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4374
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4375
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4376
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4377
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4378
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4379
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4380
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4381
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4382
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4383
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4384
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4385
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4386
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4387
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4388
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4389
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4390
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4391
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4392
    }/*function_udint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4393
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4394
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4395
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4396
 *UDINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4397
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4398
    case function_udint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4399
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4400
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4401
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4402
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4403
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4404
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4405
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4406
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4407
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4408
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4409
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4410
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4411
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4412
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4413
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4414
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4415
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4416
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4417
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4418
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4419
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4420
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4421
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4422
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4423
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4424
    }/*function_udint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4425
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4426
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4427
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4428
 *UDINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4429
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4430
    case function_udint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4431
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4432
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4433
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4434
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4435
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4436
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4437
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4438
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4439
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4440
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4441
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4442
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4443
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4444
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4445
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4446
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4447
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4448
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4449
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4450
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4451
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4452
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4453
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4454
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4455
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4456
    }/*function_udint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4457
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4458
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4459
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4460
 *UDINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4461
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4462
    case function_udint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4463
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4464
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4465
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4466
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4467
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4468
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4469
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4470
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4471
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4472
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4473
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4474
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4475
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4476
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4477
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4478
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4479
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4480
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4481
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4482
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4483
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4484
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4485
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4486
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4487
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4488
    }/*function_udint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4489
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4490
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4491
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4492
 *UDINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4493
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4494
    case function_udint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4495
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4496
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4497
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4498
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4499
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4500
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4501
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4502
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4503
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4504
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4505
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4506
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4507
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4508
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4509
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4510
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4511
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4512
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4513
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4514
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4515
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4516
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4517
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4518
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4519
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4520
    }/*function_udint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4521
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4522
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4523
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4524
 *UDINT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4525
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4526
    case function_udint_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4527
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4528
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4529
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4530
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4531
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4532
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4533
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4534
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4535
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4536
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4537
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4538
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4539
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4540
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4541
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4542
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4543
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4544
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4545
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4546
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4547
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4548
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4549
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4550
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4551
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4552
    }/*function_udint_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4553
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4554
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4555
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4556
 *UDINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4557
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4558
    case function_udint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4559
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4560
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4561
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4562
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4563
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4564
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4565
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4566
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4567
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4568
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4569
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4570
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4571
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4572
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4573
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4574
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4575
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4576
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4577
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4578
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4579
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4580
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4581
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4582
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4583
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4584
    }/*function_udint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4585
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4586
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4587
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4588
 *UDINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4589
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4590
    case function_udint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4591
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4592
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4593
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4594
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4595
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4596
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4597
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4598
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4599
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4600
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4601
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4602
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4603
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4604
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4605
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4606
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4607
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4608
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4609
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4610
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4611
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4612
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4613
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4614
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4615
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4616
    }/*function_udint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4617
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4618
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4619
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4620
 *UDINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4621
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4622
    case function_udint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4623
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4624
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4625
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4626
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4627
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4628
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4629
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4630
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4631
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4632
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4633
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4634
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4635
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4636
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4637
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4638
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4639
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4640
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4641
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4642
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4643
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4644
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4645
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4646
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4647
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4648
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4649
    }/*function_udint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4650
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4651
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4652
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4653
 *UDINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4654
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4655
    case function_udint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4656
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4657
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4658
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4659
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4660
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4661
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4662
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4663
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4664
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4665
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4666
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4667
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4668
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4669
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4670
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4671
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4672
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4673
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4674
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4675
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4676
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4677
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4678
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4679
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4680
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4681
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4682
    }/*function_udint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4683
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4684
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4685
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4686
 *UDINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4687
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4688
    case function_udint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4689
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4690
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4691
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4692
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4693
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4694
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4695
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4696
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4697
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4698
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4699
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4700
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4701
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4702
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4703
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4704
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4705
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4706
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4707
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4708
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4709
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4710
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4711
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4712
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4713
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4714
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4715
    }/*function_udint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4716
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4717
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4718
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4719
 *UDINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4720
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4721
    case function_udint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4722
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4723
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4724
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4725
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4726
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4727
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4728
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4729
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4730
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4731
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4732
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4733
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4734
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4735
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4736
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4737
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4738
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4739
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4740
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4741
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4742
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4743
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4744
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4745
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4746
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4747
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4748
    }/*function_udint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4749
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4750
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4751
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4752
 *UDINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4753
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4754
    case function_udint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4755
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4756
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4757
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4758
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4759
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4760
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4761
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4762
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4763
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4764
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4765
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4766
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4767
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4768
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4769
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4770
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4771
                s4o.print(")__uint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4772
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4773
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4774
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4775
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4776
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4777
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4778
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4779
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4780
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4781
    }/*function_udint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4782
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4783
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4784
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4785
 *UDINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4786
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4787
    case function_udint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4788
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4789
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4790
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4791
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4792
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4793
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4794
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4795
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4796
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4797
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4798
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4799
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4800
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4801
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4802
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4803
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4804
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4805
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4806
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4807
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4808
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4809
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4810
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4811
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4812
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4813
    }/*function_udint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4814
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4815
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4816
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4817
 *UDINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4818
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4819
    case function_udint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4820
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4821
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4822
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4823
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4824
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4825
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4826
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4827
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4828
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4829
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4830
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4831
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4832
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4833
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4834
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4835
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4836
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4837
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4838
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4839
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4840
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4841
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4842
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4843
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4844
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4845
    }/*function_udint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4846
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4847
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4848
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4849
 *UDINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4850
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4851
    case function_udint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4852
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4853
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4854
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4855
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4856
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4857
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4858
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4859
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4860
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4861
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4862
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4863
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4864
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4865
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4866
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4867
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4868
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4869
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4870
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4871
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4872
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4873
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4874
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4875
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4876
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4877
    }/*function_udint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4878
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4879
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4880
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4881
 *UDINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4882
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4883
    case function_udint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4884
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4885
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4886
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4887
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4888
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4889
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4890
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4891
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4892
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4893
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4894
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4895
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4896
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4897
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4898
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4899
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4900
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4901
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4902
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4903
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4904
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4905
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4906
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4907
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4908
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4909
    }/*function_udint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4910
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4911
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4912
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4913
 *ULINT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4914
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4915
    case function_ulint_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4916
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4917
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4918
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4919
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4920
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4921
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4922
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4923
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4924
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4925
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4926
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4927
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4928
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4929
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4930
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4931
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4932
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4933
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4934
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4935
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4936
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4937
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4938
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4939
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4940
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4941
    }/*function_ulint_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4942
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4943
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4944
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4945
 *ULINT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4946
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4947
    case function_ulint_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4948
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4949
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4950
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4951
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4952
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4953
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4954
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4955
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4956
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4957
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4958
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4959
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4960
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4961
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4962
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4963
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4964
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4965
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4966
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4967
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4968
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4969
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4970
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4971
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4972
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4973
    }/*function_ulint_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4974
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4975
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4976
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4977
 *ULINT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4978
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4979
    case function_ulint_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4980
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4981
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4982
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4983
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4984
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4985
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4986
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4987
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4988
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4989
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4990
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4991
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4992
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4993
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4994
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4995
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4996
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4997
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4998
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  4999
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5000
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5001
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5002
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5003
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5004
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5005
    }/*function_ulint_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5006
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5007
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5008
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5009
 *ULINT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5010
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5011
    case function_ulint_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5012
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5013
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5014
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5015
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5016
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5017
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5018
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5019
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5020
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5021
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5022
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5023
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5024
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5025
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5026
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5027
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5028
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5029
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5030
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5031
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5032
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5033
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5034
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5035
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5036
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5037
    }/*function_ulint_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5038
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5039
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5040
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5041
 *ULINT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5042
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5043
    case function_ulint_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5044
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5045
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5046
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5047
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5048
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5049
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5050
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5051
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5052
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5053
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5054
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5055
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5056
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5057
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5058
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5059
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5060
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5061
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5062
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5063
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5064
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5065
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5066
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5067
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5068
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5069
    }/*function_ulint_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5070
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5071
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5072
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5073
 *ULINT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5074
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5075
    case function_ulint_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5076
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5077
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5078
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5079
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5080
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5081
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5082
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5083
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5084
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5085
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5086
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5087
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5088
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5089
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5090
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5091
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5092
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5093
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5094
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5095
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5096
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5097
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5098
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5099
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5100
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5101
    }/*function_ulint_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5102
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5103
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5104
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5105
 *ULINT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5106
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5107
    case function_ulint_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5108
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5109
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5110
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5111
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5112
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5113
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5114
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5115
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5116
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5117
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5118
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5119
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5120
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5121
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5122
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5123
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5124
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5125
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5126
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5127
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5128
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5129
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5130
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5131
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5132
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5133
    }/*function_ulint_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5134
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5135
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5136
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5137
 *ULINT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5138
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5139
    case function_ulint_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5140
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5141
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5142
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5143
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5144
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5145
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5146
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5147
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5148
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5149
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5150
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5151
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5152
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5153
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5154
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5155
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5156
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5157
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5158
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5159
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5160
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5161
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5162
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5163
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5164
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5165
    }/*function_ulint_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5166
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5167
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5168
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5169
 *ULINT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5170
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5171
    case function_ulint_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5172
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5173
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5174
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5175
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5176
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5177
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5178
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5179
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5180
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5181
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5182
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5183
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5184
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5185
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5186
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5187
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5188
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5189
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5190
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5191
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5192
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5193
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5194
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5195
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5196
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5197
    }/*function_ulint_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5198
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5199
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5200
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5201
 *ULINT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5202
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5203
    case function_ulint_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5204
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5205
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5206
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5207
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5208
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5209
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5210
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5211
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5212
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5213
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5214
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5215
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5216
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5217
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5218
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5219
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5220
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5221
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5222
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5223
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5224
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5225
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5226
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5227
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5228
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5229
    }/*function_ulint_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5230
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5231
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5232
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5233
 *ULINT_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5234
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5235
    case function_ulint_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5236
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5237
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5238
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5239
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5240
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5241
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5242
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5243
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5244
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5245
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5246
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5247
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5248
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5249
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5250
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5251
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5252
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5253
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5254
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5255
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5256
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5257
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5258
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5259
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5260
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5261
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5262
    }/*function_ulint_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5263
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5264
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5265
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5266
 *ULINT_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5267
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5268
    case function_ulint_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5269
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5270
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5271
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5272
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5273
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5274
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5275
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5276
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5277
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5278
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5279
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5280
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5281
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5282
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5283
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5284
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5285
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5286
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5287
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5288
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5289
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5290
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5291
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5292
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5293
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5294
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5295
    }/*function_ulint_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5296
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5297
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5298
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5299
 *ULINT_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5300
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5301
    case function_ulint_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5302
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5303
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5304
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5305
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5306
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5307
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5308
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5309
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5310
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5311
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5312
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5313
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5314
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5315
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5316
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5317
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5318
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5319
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5320
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5321
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5322
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5323
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5324
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5325
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5326
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5327
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5328
    }/*function_ulint_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5329
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5330
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5331
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5332
 *ULINT_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5333
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5334
    case function_ulint_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5335
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5336
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5337
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5338
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5339
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5340
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5341
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5342
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5343
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5344
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5345
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5346
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5347
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5348
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5349
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5350
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5351
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5352
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5353
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5354
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5355
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5356
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5357
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5358
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5359
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5360
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5361
    }/*function_ulint_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5362
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5363
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5364
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5365
 *ULINT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5366
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5367
    case function_ulint_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5368
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5369
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5370
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5371
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5372
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5373
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5374
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5375
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5376
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5377
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5378
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5379
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5380
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5381
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5382
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5383
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5384
                s4o.print(")__uint_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5385
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5386
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5387
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5388
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5389
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5390
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5391
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5392
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5393
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5394
    }/*function_ulint_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5395
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5396
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5397
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5398
 *ULINT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5399
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5400
    case function_ulint_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5401
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5402
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5403
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5404
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5405
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5406
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5407
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5408
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5409
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5410
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5411
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5412
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5413
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5414
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5415
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5416
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5417
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5418
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5419
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5420
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5421
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5422
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5423
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5424
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5425
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5426
    }/*function_ulint_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5427
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5428
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5429
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5430
 *ULINT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5431
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5432
    case function_ulint_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5433
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5434
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5435
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5436
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5437
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5438
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5439
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5440
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5441
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5442
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5443
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5444
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5445
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5446
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5447
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5448
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5449
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5450
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5451
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5452
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5453
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5454
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5455
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5456
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5457
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5458
    }/*function_ulint_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5459
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5460
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5461
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5462
 *ULINT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5463
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5464
    case function_ulint_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5465
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5466
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5467
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5468
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5469
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5470
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5471
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5472
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5473
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5474
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5475
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5476
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5477
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5478
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5479
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5480
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5481
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5482
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5483
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5484
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5485
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5486
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5487
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5488
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5489
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5490
    }/*function_ulint_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5491
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5492
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5493
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5494
 *ULINT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5495
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5496
    case function_ulint_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5497
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5498
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5499
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5500
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5501
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5502
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5503
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5504
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5505
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5506
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5507
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5508
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5509
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5510
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5511
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5512
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5513
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5514
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5515
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5516
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5517
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5518
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5519
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5520
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5521
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5522
    }/*function_ulint_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5523
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5524
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5525
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5526
 *REAL_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5527
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5528
    case function_real_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5529
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5530
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5531
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5532
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5533
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5534
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5535
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5536
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5537
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5538
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5539
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5540
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5541
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5542
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5543
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5544
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5545
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5546
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5547
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5548
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5549
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5550
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5551
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5552
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5553
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5554
    }/*function_real_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5555
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5556
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5557
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5558
 *REAL_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5559
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5560
    case function_real_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5561
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5562
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5563
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5564
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5565
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5566
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5567
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5568
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5569
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5570
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5571
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5572
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5573
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5574
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5575
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5576
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5577
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5578
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5579
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5580
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5581
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5582
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5583
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5584
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5585
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5586
    }/*function_real_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5587
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5588
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5589
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5590
 *REAL_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5591
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5592
    case function_real_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5593
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5594
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5595
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5596
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5597
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5598
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5599
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5600
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5601
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5602
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5603
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5604
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5605
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5606
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5607
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5608
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5609
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5610
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5611
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5612
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5613
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5614
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5615
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5616
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5617
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5618
    }/*function_real_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5619
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5620
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5621
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5622
 *REAL_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5623
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5624
    case function_real_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5625
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5626
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5627
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5628
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5629
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5630
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5631
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5632
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5633
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5634
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5635
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5636
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5637
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5638
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5639
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5640
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5641
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5642
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5643
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5644
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5645
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5646
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5647
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5648
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5649
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5650
    }/*function_real_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5651
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5652
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5653
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5654
 *REAL_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5655
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5656
    case function_real_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5657
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5658
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5659
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5660
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5661
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5662
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5663
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5664
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5665
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5666
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5667
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5668
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5669
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5670
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5671
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5672
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5673
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5674
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5675
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5676
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5677
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5678
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5679
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5680
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5681
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5682
    }/*function_real_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5683
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5684
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5685
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5686
 *REAL_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5687
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5688
    case function_real_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5689
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5690
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5691
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5692
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5693
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5694
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5695
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5696
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5697
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5698
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5699
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5700
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5701
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5702
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5703
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5704
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5705
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5706
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5707
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5708
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5709
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5710
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5711
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5712
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5713
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5714
    }/*function_real_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5715
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5716
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5717
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5718
 *REAL_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5719
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5720
    case function_real_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5721
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5722
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5723
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5724
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5725
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5726
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5727
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5728
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5729
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5730
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5731
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5732
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5733
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5734
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5735
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5736
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5737
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5738
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5739
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5740
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5741
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5742
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5743
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5744
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5745
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5746
    }/*function_real_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5747
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5748
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5749
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5750
 *REAL_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5751
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5752
    case function_real_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5753
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5754
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5755
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5756
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5757
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5758
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5759
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5760
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5761
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5762
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5763
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5764
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5765
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5766
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5767
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5768
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5769
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5770
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5771
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5772
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5773
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5774
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5775
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5776
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5777
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5778
    }/*function_real_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5779
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5780
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5781
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5782
 *REAL_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5783
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5784
    case function_real_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5785
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5786
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5787
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5788
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5789
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5790
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5791
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5792
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5793
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5794
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5795
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5796
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5797
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5798
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5799
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5800
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5801
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5802
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5803
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5804
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5805
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5806
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5807
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5808
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5809
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5810
    }/*function_real_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5811
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5812
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5813
/****
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5814
 *REAL_TO_LREAL
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5815
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5816
    case function_real_to_lreal :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5817
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5818
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5819
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5820
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5821
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5822
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5823
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5824
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5825
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5826
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5827
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5828
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5829
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5830
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5831
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5832
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5833
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5834
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5835
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5836
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5837
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5838
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5839
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5840
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5841
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5842
    }/*function_real_to_lreal*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5843
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5844
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5845
/****
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5846
 *REAL_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5847
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5848
    case function_real_to_time :
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5849
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5850
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5851
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5852
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5853
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5854
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5855
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5856
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5857
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5858
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5859
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5860
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  5861
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5862
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5863
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5864
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5865
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5866
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5867
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5868
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5869
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5870
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5871
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5872
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5873
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5874
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5875
    }/*function_real_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5876
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5877
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5878
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5879
 *REAL_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5880
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5881
    case function_real_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5882
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5883
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5884
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5885
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5886
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5887
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5888
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5889
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5890
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5891
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5892
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5893
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5894
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5895
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5896
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5897
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5898
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5899
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5900
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5901
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5902
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5903
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5904
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5905
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5906
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5907
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5908
    }/*function_real_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5909
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5910
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5911
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5912
 *REAL_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5913
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5914
    case function_real_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5915
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5916
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5917
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5918
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5919
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5920
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5921
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5922
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5923
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5924
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5925
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5926
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5927
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5928
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5929
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5930
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5931
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5932
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5933
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5934
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5935
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5936
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5937
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5938
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5939
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5940
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5941
    }/*function_real_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5942
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5943
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5944
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5945
 *REAL_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5946
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5947
    case function_real_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5948
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5949
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5950
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5951
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5952
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5953
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5954
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5955
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5956
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5957
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5958
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5959
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5960
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5961
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5962
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5963
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5964
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5965
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5966
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5967
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5968
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5969
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5970
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5971
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5972
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5973
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5974
    }/*function_real_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5975
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5976
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5977
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5978
 *REAL_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5979
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5980
    case function_real_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5981
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5982
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5983
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5984
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5985
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5986
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5987
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5988
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5989
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5990
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5991
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5992
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5993
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5994
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5995
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5996
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5997
                s4o.print(")__real_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5998
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  5999
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6000
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6001
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6002
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6003
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6004
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6005
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6006
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6007
    }/*function_real_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6008
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6009
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6010
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6011
 *REAL_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6012
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6013
    case function_real_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6014
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6015
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6016
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6017
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6018
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6019
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6020
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6021
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6022
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6023
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6024
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6025
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6026
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6027
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6028
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6029
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6030
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6031
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6032
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6033
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6034
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6035
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6036
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6037
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6038
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6039
    }/*function_real_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6040
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6041
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6042
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6043
 *REAL_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6044
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6045
    case function_real_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6046
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6047
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6048
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6049
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6050
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6051
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6052
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6053
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6054
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6055
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6056
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6057
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6058
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6059
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6060
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6061
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6062
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6063
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6064
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6065
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6066
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6067
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6068
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6069
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6070
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6071
    }/*function_real_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6072
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6073
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6074
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6075
 *REAL_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6076
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6077
    case function_real_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6078
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6079
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6080
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6081
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6082
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6083
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6084
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6085
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6086
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6087
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6088
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6089
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6090
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6091
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6092
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6093
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6094
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6095
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6096
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6097
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6098
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6099
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6100
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6101
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6102
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6103
    }/*function_real_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6104
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6105
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6106
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6107
 *REAL_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6108
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6109
    case function_real_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6110
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6111
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6112
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6113
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6114
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6115
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6116
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6117
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6118
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6119
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6120
            if (typeid(*last_type_symbol) == typeid(real_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6121
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6122
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6123
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6124
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6125
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6126
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6127
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6128
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6129
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6130
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6131
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6132
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6133
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6134
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6135
    }/*function_real_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6136
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6137
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6138
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6139
 *LREAL_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6140
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6141
    case function_lreal_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6142
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6143
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6144
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6145
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6146
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6147
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6148
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6149
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6150
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6151
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6152
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6153
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6154
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6155
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6156
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6157
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6158
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6159
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6160
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6161
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6162
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6163
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6164
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6165
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6166
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6167
    }/*function_lreal_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6168
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6169
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6170
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6171
 *LREAL_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6172
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6173
    case function_lreal_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6174
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6175
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6176
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6177
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6178
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6179
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6180
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6181
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6182
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6183
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6184
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6185
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6186
        
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6187
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6188
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6189
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6190
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6191
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6192
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6193
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6194
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6195
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6196
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6197
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6198
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6199
    }/*function_lreal_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6200
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6201
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6202
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6203
 *LREAL_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6204
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6205
    case function_lreal_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6206
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6207
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6208
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6209
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6210
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6211
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6212
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6213
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6214
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6215
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6216
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6217
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6218
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6219
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6220
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6221
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6222
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6223
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6224
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6225
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6226
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6227
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6228
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6229
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6230
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6231
    }/*function_lreal_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6232
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6233
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6234
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6235
 *LREAL_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6236
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6237
    case function_lreal_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6238
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6239
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6240
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6241
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6242
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6243
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6244
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6245
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6246
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6247
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6248
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6249
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6250
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6251
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6252
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6253
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6254
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6255
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6256
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6257
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6258
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6259
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6260
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6261
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6262
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6263
    }/*function_lreal_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6264
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6265
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6266
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6267
 *LREAL_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6268
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6269
    case function_lreal_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6270
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6271
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6272
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6273
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6274
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6275
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6276
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6277
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6278
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6279
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6280
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6281
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6282
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6283
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6284
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6285
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6286
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6287
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6288
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6289
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6290
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6291
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6292
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6293
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6294
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6295
    }/*function_lreal_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6296
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6297
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6298
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6299
 *LREAL_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6300
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6301
    case function_lreal_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6302
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6303
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6304
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6305
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6306
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6307
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6308
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6309
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6310
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6311
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6312
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6313
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6314
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6315
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6316
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6317
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6318
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6319
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6320
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6321
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6322
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6323
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6324
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6325
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6326
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6327
    }/*function_lreal_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6328
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6329
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6330
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6331
 *LREAL_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6332
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6333
    case function_lreal_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6334
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6335
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6336
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6337
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6338
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6339
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6340
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6341
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6342
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6343
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6344
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6345
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6346
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6347
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6348
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6349
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6350
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6351
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6352
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6353
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6354
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6355
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6356
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6357
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6358
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6359
    }/*function_lreal_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6360
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6361
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6362
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6363
 *LREAL_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6364
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6365
    case function_lreal_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6366
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6367
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6368
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6369
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6370
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6371
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6372
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6373
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6374
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6375
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6376
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6377
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6378
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6379
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6380
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6381
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6382
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6383
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6384
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6385
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6386
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6387
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6388
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6389
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6390
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6391
    }/*function_lreal_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6392
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6393
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6394
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6395
 *LREAL_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6396
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6397
    case function_lreal_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6398
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6399
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6400
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6401
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6402
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6403
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6404
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6405
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6406
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6407
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6408
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6409
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6410
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6411
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6412
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6413
                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6414
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6415
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6416
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6417
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6418
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6419
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6420
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6421
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6422
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6423
    }/*function_lreal_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6424
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6425
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6426
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6427
 *LREAL_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6428
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6429
    case function_lreal_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6430
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6431
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6432
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6433
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6434
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6435
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6436
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6437
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6438
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6439
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6440
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6441
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6442
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6443
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6444
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6445
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6446
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6447
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6448
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6449
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6450
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6451
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6452
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6453
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6454
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6455
    }/*function_lreal_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6456
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6457
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6458
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6459
 *LREAL_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6460
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6461
    case function_lreal_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6462
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6463
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6464
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6465
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6466
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6467
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6468
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6469
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6470
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6471
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6472
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6473
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6474
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6475
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6476
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6477
                return_type_symbol->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  6478
                s4o.print(")__real_to_time(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6479
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6480
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6481
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6482
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6483
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6484
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6485
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6486
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6487
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6488
    }/*function_lreal_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6489
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6490
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6491
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6492
 *LREAL_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6493
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6494
    case function_lreal_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6495
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6496
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6497
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6498
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6499
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6500
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6501
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6502
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6503
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6504
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6505
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6506
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6507
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6508
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6509
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6510
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6511
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6512
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6513
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6514
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6515
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6516
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6517
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6518
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6519
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6520
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6521
    }/*function_lreal_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6522
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6523
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6524
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6525
 *LREAL_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6526
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6527
    case function_lreal_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6528
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6529
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6530
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6531
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6532
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6533
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6534
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6535
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6536
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6537
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6538
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6539
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6540
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6541
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6542
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6543
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6544
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6545
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6546
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6547
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6548
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6549
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6550
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6551
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6552
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6553
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6554
    }/*function_lreal_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6555
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6556
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6557
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6558
 *LREAL_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6559
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6560
    case function_lreal_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6561
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6562
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6563
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6564
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6565
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6566
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6567
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6568
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6569
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6570
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6571
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6572
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6573
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6574
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6575
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6576
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6577
                s4o.print(")__real_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6578
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6579
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6580
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6581
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6582
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6583
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6584
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6585
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6586
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6587
    }/*function_lreal_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6588
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6589
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6590
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6591
 *LREAL_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6592
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6593
    case function_lreal_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6594
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6595
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6596
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6597
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6598
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6599
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6600
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6601
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6602
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6603
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6604
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6605
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6606
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6607
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6608
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6609
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6610
                s4o.print(")__real_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6611
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6612
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6613
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6614
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6615
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6616
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6617
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6618
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6619
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6620
    }/*function_lreal_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6621
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6622
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6623
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6624
 *LREAL_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6625
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6626
    case function_lreal_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6627
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6628
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6629
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6630
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6631
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6632
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6633
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6634
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6635
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6636
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6637
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6638
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6639
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6640
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6641
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6642
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6643
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6644
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6645
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6646
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6647
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6648
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6649
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6650
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6651
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6652
    }/*function_lreal_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6653
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6654
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6655
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6656
 *LREAL_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6657
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6658
    case function_lreal_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6659
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6660
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6661
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6662
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6663
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6664
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6665
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6666
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6667
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6668
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6669
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6670
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6671
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6672
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6673
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6674
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6675
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6676
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6677
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6678
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6679
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6680
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6681
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6682
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6683
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6684
    }/*function_lreal_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6685
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6686
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6687
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6688
 *LREAL_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6689
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6690
    case function_lreal_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6691
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6692
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6693
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6694
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6695
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6696
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6697
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6698
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6699
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6700
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6701
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6702
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6703
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6704
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6705
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6706
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6707
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6708
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6709
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6710
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6711
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6712
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6713
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6714
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6715
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6716
    }/*function_lreal_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6717
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6718
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6719
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6720
 *LREAL_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6721
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6722
    case function_lreal_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6723
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6724
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6725
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6726
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6727
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6728
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6729
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6730
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6731
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6732
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6733
            if (typeid(*last_type_symbol) == typeid(lreal_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6734
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6735
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6736
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6737
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6738
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6739
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6740
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6741
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6742
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6743
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6744
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6745
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6746
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6747
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6748
    }/*function_lreal_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6749
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6750
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6751
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6752
 *TIME_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6753
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6754
    case function_time_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6755
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6756
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6757
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6758
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6759
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6760
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6761
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6762
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6763
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6764
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6765
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6766
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6767
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6768
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6769
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  6770
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6771
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6772
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6773
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6774
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6775
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6776
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6777
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6778
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6779
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6780
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6781
    }/*function_time_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6782
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6783
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6784
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6785
 *TIME_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6786
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6787
    case function_time_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6788
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6789
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6790
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6791
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6792
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6793
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6794
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6795
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6796
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6797
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6798
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6799
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6800
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6801
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6802
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6803
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6804
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6805
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6806
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6807
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6808
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6809
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6810
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6811
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6812
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6813
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6814
    }/*function_time_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6815
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6816
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6817
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6818
 *TIME_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6819
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6820
    case function_time_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6821
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6822
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6823
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6824
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6825
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6826
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6827
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6828
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6829
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6830
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6831
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6832
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6833
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6834
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6835
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6836
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6837
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6838
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6839
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6840
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6841
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6842
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6843
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6844
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6845
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6846
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6847
    }/*function_time_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6848
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6849
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6850
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6851
 *TIME_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6852
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6853
    case function_time_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6854
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6855
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6856
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6857
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6858
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6859
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6860
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6861
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6862
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6863
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6864
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6865
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6866
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6867
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6868
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6869
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6870
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6871
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6872
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6873
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6874
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6875
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6876
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6877
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6878
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6879
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6880
    }/*function_time_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6881
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6882
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6883
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6884
 *TIME_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6885
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6886
    case function_time_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6887
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6888
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6889
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6890
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6891
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6892
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6893
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6894
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6895
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6896
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6897
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6898
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6899
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6900
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6901
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6902
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6903
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6904
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6905
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6906
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6907
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6908
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6909
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6910
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6911
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6912
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6913
    }/*function_time_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6914
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6915
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6916
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6917
 *TIME_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6918
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6919
    case function_time_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6920
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6921
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6922
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6923
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6924
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6925
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6926
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6927
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6928
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6929
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6930
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6931
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6932
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6933
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6934
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6935
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6936
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6937
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6938
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6939
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6940
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6941
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6942
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6943
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6944
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6945
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6946
    }/*function_time_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6947
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6948
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6949
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6950
 *TIME_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6951
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6952
    case function_time_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6953
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6954
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6955
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6956
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6957
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6958
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6959
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6960
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6961
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6962
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6963
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6964
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6965
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6966
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6967
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6968
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6969
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6970
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6971
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6972
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6973
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6974
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6975
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6976
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6977
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6978
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6979
    }/*function_time_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6980
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6981
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6982
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6983
 *TIME_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6984
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6985
    case function_time_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6986
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6987
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6988
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6989
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6990
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6991
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6992
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6993
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6994
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6995
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6996
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6997
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6998
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  6999
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7000
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7001
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7002
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7003
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7004
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7005
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7006
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7007
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7008
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7009
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7010
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7011
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7012
    }/*function_time_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7013
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7014
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7015
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7016
 *TIME_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7017
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7018
    case function_time_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7019
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7020
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7021
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7022
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7023
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7024
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7025
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7026
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7027
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7028
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7029
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7030
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7031
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7032
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7033
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7034
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7035
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7036
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7037
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7038
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7039
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7040
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7041
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7042
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7043
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7044
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7045
    }/*function_time_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7046
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7047
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7048
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7049
 *TIME_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7050
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7051
    case function_time_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7052
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7053
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7054
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7055
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7056
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7057
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7058
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7059
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7060
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7061
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7062
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7063
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7064
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7065
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7066
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7067
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7068
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7069
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7070
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7071
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7072
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7073
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7074
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7075
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7076
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7077
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7078
    }/*function_time_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7079
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7080
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7081
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7082
 *TIME_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7083
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7084
    case function_time_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7085
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7086
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7087
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7088
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7089
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7090
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7091
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7092
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7093
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7094
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7095
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7096
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7097
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7098
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7099
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7100
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7101
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7102
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7103
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7104
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7105
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7106
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7107
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7108
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7109
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7110
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7111
    }/*function_time_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7112
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7113
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7114
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7115
 *TIME_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7116
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7117
    case function_time_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7118
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7119
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7120
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7121
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7122
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7123
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7124
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7125
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7126
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7127
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7128
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7129
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7130
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7131
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7132
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7133
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7134
                s4o.print(")__time_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7135
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7136
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7137
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7138
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7139
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7140
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7141
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7142
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7143
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7144
    }/*function_time_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7145
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7146
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7147
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7148
 *TIME_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7149
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7150
    case function_time_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7151
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7152
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7153
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7154
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7155
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7156
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7157
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7158
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7159
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7160
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7161
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7162
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7163
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7164
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7165
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7166
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7167
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7168
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7169
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7170
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7171
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7172
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7173
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7174
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7175
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7176
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7177
    }/*function_time_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7178
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7179
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7180
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7181
 *TIME_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7182
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7183
    case function_time_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7184
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7185
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7186
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7187
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7188
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7189
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7190
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7191
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7192
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7193
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7194
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7195
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7196
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7197
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7198
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7199
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7200
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7201
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7202
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7203
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7204
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7205
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7206
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7207
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7208
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7209
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7210
    }/*function_time_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7211
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7212
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7213
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7214
 *TIME_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7215
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7216
    case function_time_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7217
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7218
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7219
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7220
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7221
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7222
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7223
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7224
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7225
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7226
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7227
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7228
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7229
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7230
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7231
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7232
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7233
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7234
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7235
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7236
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7237
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7238
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7239
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7240
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7241
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7242
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7243
    }/*function_time_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7244
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7245
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7246
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7247
 *TIME_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7248
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7249
    case function_time_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7250
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7251
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7252
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7253
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7254
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7255
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7256
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7257
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7258
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7259
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7260
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7261
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7262
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7263
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7264
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7265
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7266
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7267
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7268
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7269
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7270
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7271
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7272
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7273
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7274
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7275
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7276
    }/*function_time_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7277
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7278
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7279
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7280
 *DATE_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7281
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7282
    case function_date_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7283
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7284
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7285
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7286
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7287
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7288
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7289
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7290
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7291
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7292
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7293
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7294
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7295
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7296
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7297
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7298
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7299
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7300
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7301
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7302
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7303
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7304
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7305
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7306
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7307
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7308
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7309
    }/*function_date_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7310
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7311
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7312
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7313
 *DATE_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7314
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7315
    case function_date_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7316
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7317
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7318
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7319
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7320
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7321
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7322
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7323
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7324
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7325
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7326
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7327
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7328
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7329
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7330
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7331
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7332
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7333
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7334
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7335
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7336
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7337
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7338
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7339
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7340
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7341
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7342
    }/*function_date_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7343
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7344
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7345
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7346
 *DATE_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7347
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7348
    case function_date_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7349
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7350
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7351
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7352
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7353
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7354
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7355
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7356
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7357
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7358
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7359
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7360
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7361
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7362
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7363
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7364
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7365
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7366
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7367
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7368
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7369
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7370
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7371
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7372
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7373
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7374
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7375
    }/*function_date_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7376
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7377
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7378
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7379
 *DATE_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7380
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7381
    case function_date_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7382
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7383
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7384
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7385
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7386
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7387
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7388
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7389
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7390
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7391
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7392
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7393
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7394
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7395
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7396
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7397
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7398
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7399
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7400
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7401
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7402
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7403
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7404
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7405
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7406
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7407
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7408
    }/*function_date_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7409
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7410
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7411
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7412
 *DATE_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7413
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7414
    case function_date_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7415
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7416
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7417
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7418
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7419
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7420
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7421
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7422
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7423
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7424
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7425
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7426
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7427
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7428
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7429
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7430
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7431
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7432
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7433
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7434
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7435
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7436
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7437
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7438
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7439
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7440
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7441
    }/*function_date_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7442
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7443
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7444
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7445
 *DATE_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7446
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7447
    case function_date_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7448
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7449
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7450
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7451
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7452
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7453
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7454
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7455
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7456
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7457
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7458
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7459
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7460
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7461
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7462
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7463
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7464
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7465
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7466
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7467
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7468
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7469
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7470
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7471
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7472
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7473
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7474
    }/*function_date_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7475
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7476
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7477
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7478
 *DATE_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7479
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7480
    case function_date_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7481
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7482
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7483
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7484
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7485
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7486
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7487
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7488
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7489
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7490
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7491
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7492
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7493
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7494
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7495
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7496
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7497
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7498
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7499
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7500
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7501
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7502
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7503
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7504
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7505
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7506
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7507
    }/*function_date_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7508
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7509
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7510
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7511
 *DATE_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7512
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7513
    case function_date_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7514
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7515
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7516
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7517
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7518
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7519
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7520
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7521
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7522
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7523
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7524
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7525
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7526
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7527
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7528
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7529
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7530
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7531
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7532
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7533
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7534
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7535
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7536
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7537
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7538
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7539
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7540
    }/*function_date_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7541
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7542
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7543
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7544
 *DATE_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7545
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7546
    case function_date_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7547
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7548
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7549
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7550
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7551
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7552
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7553
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7554
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7555
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7556
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7557
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7558
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7559
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7560
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7561
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7562
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7563
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7564
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7565
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7566
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7567
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7568
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7569
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7570
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7571
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7572
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7573
    }/*function_date_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7574
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7575
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7576
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7577
 *DATE_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7578
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7579
    case function_date_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7580
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7581
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7582
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7583
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7584
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7585
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7586
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7587
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7588
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7589
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7590
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7591
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7592
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7593
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7594
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7595
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7596
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7597
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7598
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7599
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7600
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7601
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7602
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7603
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7604
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7605
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7606
    }/*function_date_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7607
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7608
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7609
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7610
 *DATE_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7611
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7612
    case function_date_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7613
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7614
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7615
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7616
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7617
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7618
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7619
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7620
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7621
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7622
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7623
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7624
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7625
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7626
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7627
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7628
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7629
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7630
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7631
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7632
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7633
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7634
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7635
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7636
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7637
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7638
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7639
    }/*function_date_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7640
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7641
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7642
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7643
 *DATE_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7644
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7645
    case function_date_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7646
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7647
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7648
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7649
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7650
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7651
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7652
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7653
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7654
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7655
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7656
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7657
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7658
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7659
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7660
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  7661
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7662
                s4o.print(")__date_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7663
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7664
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7665
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7666
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7667
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7668
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7669
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7670
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7671
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7672
    }/*function_date_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7673
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7674
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7675
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7676
 *DATE_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7677
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7678
    case function_date_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7679
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7680
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7681
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7682
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7683
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7684
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7685
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7686
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7687
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7688
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7689
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7690
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7691
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7692
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7693
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7694
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7695
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7696
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7697
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7698
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7699
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7700
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7701
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7702
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7703
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7704
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7705
    }/*function_date_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7706
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7707
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7708
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7709
 *DATE_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7710
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7711
    case function_date_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7712
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7713
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7714
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7715
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7716
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7717
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7718
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7719
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7720
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7721
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7722
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7723
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7724
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7725
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7726
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7727
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7728
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7729
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7730
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7731
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7732
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7733
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7734
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7735
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7736
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7737
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7738
    }/*function_date_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7739
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7740
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7741
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7742
 *DATE_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7743
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7744
    case function_date_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7745
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7746
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7747
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7748
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7749
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7750
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7751
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7752
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7753
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7754
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7755
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7756
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7757
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7758
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7759
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7760
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7761
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7762
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7763
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7764
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7765
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7766
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7767
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7768
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7769
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7770
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7771
    }/*function_date_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7772
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7773
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7774
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7775
 *DATE_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7776
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7777
    case function_date_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7778
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7779
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7780
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7781
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7782
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7783
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7784
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7785
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7786
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7787
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7788
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7789
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7790
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7791
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7792
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7793
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7794
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7795
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7796
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7797
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7798
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7799
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7800
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7801
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7802
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7803
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7804
    }/*function_date_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7805
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7806
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7807
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7808
 *TOD_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7809
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7810
    case function_tod_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7811
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7812
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7813
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7814
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7815
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7816
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7817
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7818
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7819
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7820
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7821
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7822
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7823
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7824
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7825
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7826
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7827
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7828
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7829
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7830
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7831
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7832
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7833
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7834
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7835
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7836
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7837
    }/*function_tod_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7838
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7839
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7840
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7841
 *TOD_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7842
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7843
    case function_tod_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7844
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7845
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7846
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7847
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7848
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7849
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7850
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7851
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7852
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7853
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7854
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7855
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7856
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7857
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7858
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7859
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7860
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7861
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7862
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7863
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7864
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7865
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7866
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7867
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7868
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7869
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7870
    }/*function_tod_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7871
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7872
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7873
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7874
 *TOD_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7875
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7876
    case function_tod_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7877
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7878
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7879
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7880
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7881
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7882
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7883
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7884
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7885
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7886
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7887
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7888
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7889
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7890
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7891
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7892
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7893
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7894
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7895
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7896
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7897
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7898
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7899
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7900
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7901
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7902
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7903
    }/*function_tod_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7904
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7905
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7906
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7907
 *TOD_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7908
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7909
    case function_tod_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7910
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7911
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7912
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7913
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7914
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7915
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7916
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7917
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7918
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7919
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7920
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7921
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7922
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7923
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7924
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7925
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7926
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7927
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7928
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7929
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7930
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7931
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7932
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7933
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7934
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7935
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7936
    }/*function_tod_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7937
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7938
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7939
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7940
 *TOD_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7941
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7942
    case function_tod_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7943
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7944
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7945
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7946
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7947
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7948
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7949
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7950
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7951
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7952
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7953
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7954
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7955
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7956
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7957
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7958
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7959
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7960
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7961
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7962
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7963
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7964
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7965
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7966
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7967
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7968
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7969
    }/*function_tod_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7970
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7971
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7972
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7973
 *TOD_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7974
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7975
    case function_tod_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7976
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7977
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7978
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7979
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7980
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7981
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7982
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7983
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7984
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7985
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7986
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7987
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7988
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7989
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7990
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7991
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7992
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7993
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7994
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7995
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7996
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7997
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7998
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  7999
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8000
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8001
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8002
    }/*function_tod_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8003
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8004
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8005
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8006
 *TOD_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8007
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8008
    case function_tod_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8009
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8010
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8011
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8012
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8013
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8014
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8015
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8016
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8017
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8018
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8019
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8020
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8021
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8022
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8023
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8024
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8025
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8026
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8027
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8028
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8029
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8030
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8031
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8032
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8033
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8034
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8035
    }/*function_tod_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8036
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8037
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8038
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8039
 *TOD_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8040
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8041
    case function_tod_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8042
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8043
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8044
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8045
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8046
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8047
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8048
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8049
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8050
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8051
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8052
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8053
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8054
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8055
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8056
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8057
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8058
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8059
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8060
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8061
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8062
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8063
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8064
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8065
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8066
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8067
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8068
    }/*function_tod_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8069
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8070
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8071
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8072
 *TOD_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8073
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8074
    case function_tod_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8075
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8076
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8077
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8078
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8079
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8080
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8081
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8082
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8083
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8084
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8085
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8086
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8087
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8088
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8089
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8090
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8091
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8092
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8093
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8094
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8095
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8096
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8097
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8098
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8099
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8100
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8101
    }/*function_tod_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8102
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8103
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8104
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8105
 *TOD_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8106
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8107
    case function_tod_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8108
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8109
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8110
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8111
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8112
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8113
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8114
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8115
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8116
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8117
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8118
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8119
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8120
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8121
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8122
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8123
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8124
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8125
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8126
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8127
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8128
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8129
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8130
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8131
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8132
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8133
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8134
    }/*function_tod_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8135
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8136
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8137
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8138
 *TOD_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8139
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8140
    case function_tod_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8141
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8142
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8143
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8144
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8145
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8146
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8147
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8148
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8149
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8150
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8151
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8152
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8153
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8154
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8155
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8156
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8157
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8158
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8159
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8160
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8161
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8162
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8163
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8164
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8165
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8166
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8167
    }/*function_tod_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8168
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8169
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8170
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8171
 *TOD_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8172
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8173
    case function_tod_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8174
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8175
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8176
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8177
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8178
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8179
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8180
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8181
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8182
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8183
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8184
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8185
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8186
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8187
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8188
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8189
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8190
                s4o.print(")__tod_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8191
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8192
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8193
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8194
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8195
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8196
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8197
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8198
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8199
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8200
    }/*function_tod_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8201
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8202
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8203
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8204
 *TOD_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8205
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8206
    case function_tod_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8207
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8208
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8209
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8210
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8211
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8212
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8213
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8214
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8215
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8216
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8217
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8218
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8219
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8220
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8221
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8222
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8223
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8224
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8225
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8226
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8227
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8228
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8229
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8230
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8231
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8232
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8233
    }/*function_tod_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8234
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8235
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8236
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8237
 *TOD_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8238
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8239
    case function_tod_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8240
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8241
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8242
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8243
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8244
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8245
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8246
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8247
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8248
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8249
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8250
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8251
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8252
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8253
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8254
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8255
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8256
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8257
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8258
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8259
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8260
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8261
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8262
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8263
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8264
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8265
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8266
    }/*function_tod_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8267
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8268
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8269
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8270
 *TOD_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8271
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8272
    case function_tod_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8273
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8274
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8275
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8276
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8277
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8278
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8279
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8280
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8281
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8282
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8283
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8284
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8285
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8286
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8287
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8288
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8289
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8290
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8291
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8292
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8293
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8294
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8295
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8296
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8297
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8298
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8299
    }/*function_tod_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8300
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8301
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8302
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8303
 *TOD_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8304
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8305
    case function_tod_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8306
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8307
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8308
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8309
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8310
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8311
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8312
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8313
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8314
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8315
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8316
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8317
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8318
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8319
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8320
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8321
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8322
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8323
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8324
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8325
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8326
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8327
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8328
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8329
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8330
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8331
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8332
    }/*function_tod_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8333
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8334
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8335
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8336
 *DT_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8337
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8338
    case function_dt_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8339
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8340
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8341
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8342
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8343
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8344
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8345
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8346
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8347
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8348
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8349
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8350
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8351
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8352
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8353
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8354
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8355
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8356
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8357
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8358
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8359
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8360
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8361
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8362
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8363
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8364
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8365
    }/*function_dt_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8366
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8367
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8368
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8369
 *DT_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8370
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8371
    case function_dt_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8372
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8373
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8374
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8375
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8376
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8377
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8378
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8379
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8380
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8381
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8382
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8383
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8384
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8385
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8386
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8387
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8388
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8389
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8390
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8391
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8392
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8393
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8394
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8395
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8396
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8397
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8398
    }/*function_dt_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8399
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8400
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8401
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8402
 *DT_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8403
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8404
    case function_dt_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8405
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8406
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8407
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8408
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8409
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8410
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8411
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8412
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8413
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8414
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8415
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8416
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8417
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8418
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8419
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8420
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8421
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8422
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8423
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8424
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8425
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8426
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8427
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8428
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8429
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8430
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8431
    }/*function_dt_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8432
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8433
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8434
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8435
 *DT_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8436
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8437
    case function_dt_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8438
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8439
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8440
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8441
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8442
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8443
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8444
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8445
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8446
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8447
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8448
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8449
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8450
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8451
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8452
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8453
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8454
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8455
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8456
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8457
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8458
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8459
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8460
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8461
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8462
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8463
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8464
    }/*function_dt_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8465
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8466
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8467
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8468
 *DT_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8469
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8470
    case function_dt_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8471
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8472
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8473
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8474
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8475
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8476
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8477
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8478
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8479
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8480
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8481
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8482
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8483
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8484
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8485
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8486
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8487
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8488
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8489
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8490
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8491
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8492
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8493
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8494
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8495
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8496
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8497
    }/*function_dt_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8498
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8499
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8500
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8501
 *DT_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8502
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8503
    case function_dt_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8504
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8505
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8506
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8507
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8508
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8509
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8510
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8511
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8512
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8513
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8514
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8515
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8516
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8517
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8518
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8519
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8520
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8521
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8522
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8523
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8524
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8525
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8526
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8527
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8528
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8529
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8530
    }/*function_dt_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8531
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8532
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8533
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8534
 *DT_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8535
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8536
    case function_dt_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8537
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8538
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8539
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8540
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8541
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8542
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8543
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8544
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8545
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8546
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8547
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8548
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8549
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8550
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8551
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8552
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8553
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8554
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8555
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8556
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8557
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8558
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8559
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8560
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8561
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8562
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8563
    }/*function_dt_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8564
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8565
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8566
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8567
 *DT_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8568
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8569
    case function_dt_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8570
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8571
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8572
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8573
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8574
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8575
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8576
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8577
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8578
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8579
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8580
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8581
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8582
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8583
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8584
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8585
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8586
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8587
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8588
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8589
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8590
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8591
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8592
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8593
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8594
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8595
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8596
    }/*function_dt_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8597
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8598
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8599
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8600
 *DT_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8601
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8602
    case function_dt_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8603
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8604
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8605
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8606
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8607
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8608
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8609
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8610
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8611
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8612
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8613
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8614
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8615
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8616
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8617
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8618
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8619
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8620
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8621
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8622
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8623
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8624
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8625
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8626
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8627
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8628
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8629
    }/*function_dt_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8630
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8631
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8632
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8633
 *DT_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8634
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8635
    case function_dt_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8636
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8637
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8638
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8639
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8640
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8641
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8642
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8643
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8644
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8645
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8646
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8647
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8648
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8649
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8650
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8651
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8652
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8653
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8654
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8655
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8656
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8657
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8658
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8659
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8660
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8661
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8662
    }/*function_dt_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8663
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8664
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8665
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8666
 *DT_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8667
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8668
    case function_dt_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8669
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8670
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8671
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8672
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8673
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8674
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8675
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8676
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8677
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8678
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8679
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8680
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8681
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8682
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8683
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8684
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8685
                s4o.print(")__time_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8686
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8687
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8688
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8689
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8690
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8691
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8692
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8693
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8694
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8695
    }/*function_dt_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8696
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8697
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8698
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8699
 *DT_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8700
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8701
    case function_dt_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8702
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8703
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8704
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8705
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8706
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8707
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8708
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8709
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8710
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8711
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8712
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8713
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8714
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8715
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8716
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8717
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8718
                s4o.print(")__dt_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8719
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8720
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8721
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8722
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8723
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8724
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8725
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8726
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8727
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8728
    }/*function_dt_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8729
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8730
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8731
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8732
 *DT_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8733
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8734
    case function_dt_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8735
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8736
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8737
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8738
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8739
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8740
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8741
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8742
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8743
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8744
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8745
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8746
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8747
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8748
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8749
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8750
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8751
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8752
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8753
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8754
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8755
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8756
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8757
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8758
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8759
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8760
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8761
    }/*function_dt_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8762
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8763
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8764
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8765
 *DT_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8766
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8767
    case function_dt_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8768
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8769
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8770
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8771
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8772
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8773
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8774
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8775
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8776
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8777
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8778
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8779
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8780
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8781
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8782
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8783
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8784
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8785
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8786
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8787
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8788
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8789
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8790
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8791
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8792
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8793
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8794
    }/*function_dt_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8795
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8796
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8797
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8798
 *DT_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8799
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8800
    case function_dt_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8801
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8802
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8803
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8804
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8805
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8806
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8807
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8808
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8809
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8810
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8811
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8812
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8813
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8814
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8815
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8816
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8817
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8818
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8819
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8820
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8821
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8822
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8823
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8824
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8825
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8826
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8827
    }/*function_dt_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8828
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8829
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8830
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8831
 *DT_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8832
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8833
    case function_dt_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8834
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8835
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8836
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8837
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8838
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8839
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8840
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8841
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8842
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8843
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8844
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8845
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8846
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8847
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8848
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8849
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8850
                s4o.print(")__time_to_int(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8851
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8852
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8853
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8854
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8855
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8856
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8857
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8858
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8859
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8860
    }/*function_dt_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8861
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8862
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8863
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8864
 *STRING_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8865
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8866
    case function_string_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8867
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8868
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8869
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8870
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8871
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8872
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8873
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8874
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8875
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8876
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8877
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8878
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8879
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8880
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8881
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8882
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8883
                s4o.print(")__string_to_bool(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8884
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8885
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8886
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8887
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8888
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8889
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8890
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8891
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8892
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8893
    }/*function_string_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8894
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8895
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8896
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8897
 *STRING_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8898
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8899
    case function_string_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8900
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8901
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8902
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8903
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8904
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8905
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8906
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8907
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8908
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8909
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8910
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8911
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8912
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8913
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8914
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8915
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8916
                s4o.print(")__string_to_sint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8917
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8918
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8919
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8920
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8921
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8922
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8923
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8924
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8925
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8926
    }/*function_string_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8927
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8928
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8929
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8930
 *STRING_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8931
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8932
    case function_string_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8933
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8934
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8935
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8936
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8937
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8938
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8939
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8940
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8941
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8942
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8943
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8944
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8945
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8946
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8947
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8948
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8949
                s4o.print(")__string_to_sint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8950
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8951
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8952
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8953
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8954
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8955
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8956
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8957
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8958
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8959
    }/*function_string_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8960
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8961
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8962
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8963
 *STRING_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8964
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8965
    case function_string_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8966
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8967
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8968
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8969
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8970
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8971
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8972
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8973
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8974
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8975
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8976
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8977
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8978
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8979
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8980
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8981
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8982
                s4o.print(")__string_to_sint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8983
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8984
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8985
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8986
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8987
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8988
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8989
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8990
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8991
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8992
    }/*function_string_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8993
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8994
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8995
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8996
 *STRING_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8997
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8998
    case function_string_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  8999
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9000
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9001
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9002
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9003
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9004
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9005
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9006
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9007
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9008
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9009
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9010
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9011
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9012
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9013
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9014
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9015
                s4o.print(")__string_to_sint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9016
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9017
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9018
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9019
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9020
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9021
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9022
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9023
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9024
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9025
    }/*function_string_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9026
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9027
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9028
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9029
 *STRING_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9030
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9031
    case function_string_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9032
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9033
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9034
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9035
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9036
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9037
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9038
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9039
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9040
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9041
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9042
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9043
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9044
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9045
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9046
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9047
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9048
                s4o.print(")__string_to_uint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9049
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9050
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9051
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9052
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9053
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9054
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9055
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9056
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9057
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9058
    }/*function_string_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9059
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9060
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9061
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9062
 *STRING_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9063
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9064
    case function_string_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9065
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9066
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9067
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9068
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9069
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9070
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9071
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9072
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9073
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9074
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9075
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9076
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9077
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9078
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9079
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9080
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9081
                s4o.print(")__string_to_uint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9082
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9083
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9084
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9085
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9086
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9087
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9088
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9089
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9090
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9091
    }/*function_string_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9092
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9093
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9094
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9095
 *STRING_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9096
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9097
    case function_string_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9098
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9099
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9100
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9101
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9102
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9103
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9104
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9105
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9106
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9107
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9108
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9109
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9110
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9111
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9112
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9113
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9114
                s4o.print(")__string_to_uint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9115
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9116
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9117
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9118
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9119
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9120
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9121
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9122
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9123
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9124
    }/*function_string_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9125
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9126
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9127
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9128
 *STRING_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9129
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9130
    case function_string_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9131
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9132
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9133
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9134
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9135
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9136
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9137
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9138
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9139
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9140
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9141
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9142
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9143
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9144
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9145
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9146
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9147
                s4o.print(")__string_to_uint(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9148
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9149
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9150
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9151
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9152
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9153
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9154
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9155
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9156
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9157
    }/*function_string_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9158
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9159
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9160
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9161
 *STRING_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9162
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9163
    case function_string_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9164
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9165
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9166
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9167
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9168
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9169
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9170
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9171
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9172
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9173
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9174
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9175
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9176
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9177
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9178
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9179
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9180
                s4o.print(")__string_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9181
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9182
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9183
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9184
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9185
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9186
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9187
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9188
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9189
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9190
    }/*function_string_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9191
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9192
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9193
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9194
 *STRING_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9195
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9196
    case function_string_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9197
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9198
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9199
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9200
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9201
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9202
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9203
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9204
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9205
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9206
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9207
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9208
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9209
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9210
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9211
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9212
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9213
                s4o.print(")__string_to_real(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9214
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9215
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9216
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9217
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9218
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9219
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9220
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9221
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9222
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9223
    }/*function_string_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9224
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9225
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9226
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9227
 *STRING_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9228
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9229
    case function_string_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9230
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9231
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9232
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9233
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9234
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9235
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9236
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9237
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9238
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9239
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9240
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9241
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9242
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9243
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9244
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9245
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9246
                s4o.print(")__string_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9247
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9248
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9249
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9250
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9251
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9252
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9253
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9254
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9255
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9256
    }/*function_string_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9257
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9258
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9259
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9260
 *STRING_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9261
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9262
    case function_string_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9263
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9264
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9265
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9266
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9267
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9268
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9269
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9270
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9271
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9272
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9273
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  9274
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  9275
        
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9276
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9277
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9278
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9279
                s4o.print(")__string_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9280
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9281
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9282
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9283
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9284
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9285
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9286
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9287
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9288
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9289
    }/*function_string_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9290
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9291
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9292
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9293
 *STRING_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9294
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9295
    case function_string_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9296
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9297
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9298
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9299
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9300
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9301
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9302
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9303
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9304
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9305
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9306
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  9307
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
  9308
        
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9309
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9310
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9311
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9312
                s4o.print(")__string_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9313
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9314
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9315
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9316
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9317
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9318
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9319
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9320
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9321
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9322
    }/*function_string_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9323
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9324
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9325
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9326
 *STRING_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9327
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9328
    case function_string_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9329
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9330
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9331
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9332
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9333
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9334
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9335
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9336
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9337
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9338
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9339
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9340
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9341
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9342
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9343
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9344
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9345
                s4o.print(")__string_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9346
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9347
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9348
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9349
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9350
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9351
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9352
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9353
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9354
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9355
    }/*function_string_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9356
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9357
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9358
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9359
 *STRING_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9360
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9361
    case function_string_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9362
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9363
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9364
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9365
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9366
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9367
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9368
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9369
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9370
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9371
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9372
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9373
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9374
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9375
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9376
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9377
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9378
                s4o.print(")__string_to_bit(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9379
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9380
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9381
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9382
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9383
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9384
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9385
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9386
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9387
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9388
    }/*function_string_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9389
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9390
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9391
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9392
 *STRING_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9393
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9394
    case function_string_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9395
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9396
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9397
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9398
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9399
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9400
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9401
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9402
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9403
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9404
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9405
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9406
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9407
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9408
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9409
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9410
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9411
                s4o.print(")__string_to_bit(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9412
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9413
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9414
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9415
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9416
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9417
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9418
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9419
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9420
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9421
    }/*function_string_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9422
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9423
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9424
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9425
 *STRING_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9426
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9427
    case function_string_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9428
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9429
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9430
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9431
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9432
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9433
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9434
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9435
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9436
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9437
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9438
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9439
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9440
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9441
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9442
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9443
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9444
                s4o.print(")__string_to_bit(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9445
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9446
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9447
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9448
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9449
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9450
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9451
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9452
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9453
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9454
    }/*function_string_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9455
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9456
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9457
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9458
 *STRING_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9459
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9460
    case function_string_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9461
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9462
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9463
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9464
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9465
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9466
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9467
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9468
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9469
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9470
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9471
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9472
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9473
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9474
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9475
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9476
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9477
                s4o.print(")__string_to_bit(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9478
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9479
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9480
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9481
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9482
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9483
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9484
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9485
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9486
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9487
    }/*function_string_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9488
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9489
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9490
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9491
 *BYTE_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9492
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9493
    case function_byte_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9494
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9495
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9496
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9497
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9498
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9499
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9500
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9501
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9502
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9503
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9504
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9505
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9506
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9507
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9508
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9509
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9510
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9511
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9512
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9513
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9514
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9515
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9516
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9517
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9518
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9519
    }/*function_byte_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9520
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9521
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9522
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9523
 *BYTE_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9524
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9525
    case function_byte_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9526
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9527
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9528
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9529
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9530
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9531
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9532
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9533
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9534
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9535
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9536
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9537
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9538
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9539
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9540
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9541
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9542
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9543
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9544
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9545
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9546
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9547
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9548
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9549
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9550
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9551
    }/*function_byte_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9552
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9553
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9554
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9555
 *BYTE_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9556
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9557
    case function_byte_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9558
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9559
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9560
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9561
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9562
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9563
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9564
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9565
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9566
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9567
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9568
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9569
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9570
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9571
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9572
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9573
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9574
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9575
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9576
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9577
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9578
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9579
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9580
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9581
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9582
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9583
    }/*function_byte_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9584
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9585
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9586
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9587
 *BYTE_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9588
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9589
    case function_byte_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9590
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9591
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9592
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9593
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9594
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9595
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9596
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9597
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9598
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9599
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9600
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9601
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9602
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9603
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9604
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9605
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9606
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9607
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9608
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9609
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9610
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9611
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9612
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9613
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9614
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9615
    }/*function_byte_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9616
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9617
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9618
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9619
 *BYTE_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9620
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9621
    case function_byte_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9622
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9623
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9624
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9625
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9626
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9627
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9628
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9629
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9630
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9631
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9632
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9633
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9634
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9635
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9636
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9637
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9638
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9639
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9640
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9641
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9642
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9643
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9644
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9645
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9646
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9647
    }/*function_byte_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9648
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9649
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9650
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9651
 *BYTE_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9652
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9653
    case function_byte_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9654
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9655
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9656
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9657
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9658
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9659
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9660
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9661
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9662
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9663
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9664
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9665
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9666
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9667
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9668
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9669
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9670
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9671
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9672
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9673
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9674
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9675
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9676
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9677
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9678
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9679
    }/*function_byte_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9680
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9681
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9682
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9683
 *BYTE_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9684
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9685
    case function_byte_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9686
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9687
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9688
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9689
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9690
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9691
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9692
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9693
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9694
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9695
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9696
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9697
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9698
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9699
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9700
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9701
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9702
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9703
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9704
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9705
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9706
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9707
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9708
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9709
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9710
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9711
    }/*function_byte_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9712
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9713
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9714
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9715
 *BYTE_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9716
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9717
    case function_byte_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9718
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9719
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9720
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9721
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9722
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9723
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9724
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9725
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9726
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9727
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9728
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9729
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9730
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9731
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9732
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9733
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9734
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9735
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9736
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9737
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9738
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9739
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9740
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9741
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9742
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9743
    }/*function_byte_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9744
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9745
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9746
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9747
 *BYTE_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9748
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9749
    case function_byte_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9750
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9751
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9752
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9753
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9754
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9755
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9756
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9757
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9758
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9759
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9760
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9761
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9762
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9763
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9764
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9765
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9766
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9767
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9768
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9769
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9770
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9771
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9772
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9773
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9774
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9775
    }/*function_byte_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9776
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9777
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9778
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9779
 *BYTE_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9780
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9781
    case function_byte_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9782
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9783
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9784
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9785
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9786
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9787
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9788
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9789
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9790
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9791
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9792
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9793
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9794
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9795
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9796
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9797
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9798
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9799
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9800
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9801
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9802
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9803
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9804
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9805
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
  9806
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9807
    }/*function_byte_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9808
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9809
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9810
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9811
 *BYTE_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9812
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9813
    case function_byte_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9814
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9815
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9816
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9817
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9818
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9819
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9820
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9821
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9822
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9823
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9824
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9825
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9826
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9827
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9828
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9829
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9830
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9831
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9832
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9833
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9834
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9835
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9836
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9837
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9838
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9839
    }/*function_byte_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9840
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9841
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9842
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9843
 *BYTE_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9844
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9845
    case function_byte_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9846
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9847
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9848
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9849
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9850
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9851
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9852
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9853
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9854
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9855
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9856
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9857
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9858
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9859
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9860
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9861
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9862
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9863
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9864
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9865
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9866
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9867
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9868
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9869
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9870
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9871
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9872
    }/*function_byte_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9873
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9874
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9875
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9876
 *BYTE_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9877
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9878
    case function_byte_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9879
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9880
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9881
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9882
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9883
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9884
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9885
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9886
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9887
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9888
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9889
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9890
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9891
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9892
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9893
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9894
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9895
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9896
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9897
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9898
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9899
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9900
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9901
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9902
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9903
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9904
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9905
    }/*function_byte_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9906
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9907
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9908
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9909
 *BYTE_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9910
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9911
    case function_byte_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9912
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9913
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9914
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9915
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9916
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9917
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9918
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9919
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9920
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9921
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9922
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9923
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9924
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9925
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9926
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9927
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9928
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9929
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9930
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9931
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9932
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9933
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9934
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9935
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9936
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9937
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9938
    }/*function_byte_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9939
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9940
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9941
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9942
 *BYTE_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9943
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9944
    case function_byte_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9945
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9946
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9947
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9948
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9949
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9950
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9951
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9952
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9953
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9954
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9955
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9956
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9957
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9958
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9959
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9960
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9961
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9962
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9963
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9964
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9965
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9966
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9967
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9968
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9969
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9970
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9971
    }/*function_byte_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9972
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9973
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9974
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9975
 *BYTE_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9976
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9977
    case function_byte_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9978
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9979
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9980
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9981
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9982
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9983
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9984
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9985
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9986
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9987
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9988
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9989
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9990
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9991
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9992
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9993
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9994
                s4o.print(")__bit_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9995
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9996
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9997
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9998
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
  9999
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10000
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10001
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10002
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10003
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10004
    }/*function_byte_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10005
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10006
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10007
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10008
 *BYTE_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10009
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10010
    case function_byte_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10011
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10012
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10013
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10014
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10015
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10016
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10017
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10018
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10019
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10020
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10021
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10022
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10023
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10024
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10025
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10026
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10027
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10028
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10029
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10030
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10031
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10032
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10033
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10034
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10035
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10036
    }/*function_byte_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10037
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10038
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10039
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10040
 *BYTE_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10041
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10042
    case function_byte_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10043
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10044
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10045
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10046
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10047
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10048
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10049
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10050
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10051
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10052
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10053
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10054
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10055
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10056
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10057
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10058
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10059
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10060
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10061
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10062
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10063
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10064
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10065
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10066
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10067
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10068
    }/*function_byte_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10069
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10070
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10071
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10072
 *BYTE_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10073
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10074
    case function_byte_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10075
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10076
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10077
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10078
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10079
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10080
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10081
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10082
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10083
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10084
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10085
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10086
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10087
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10088
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10089
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10090
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10091
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10092
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10093
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10094
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10095
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10096
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10097
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10098
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10099
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10100
    }/*function_byte_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10101
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10102
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10103
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10104
 *WORD_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10105
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10106
    case function_word_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10107
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10108
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10109
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10110
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10111
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10112
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10113
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10114
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10115
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10116
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10117
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10118
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10119
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10120
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10121
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10122
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10123
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10124
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10125
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10126
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10127
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10128
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10129
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10130
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10131
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10132
    }/*function_word_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10133
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10134
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10135
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10136
 *WORD_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10137
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10138
    case function_word_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10139
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10140
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10141
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10142
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10143
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10144
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10145
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10146
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10147
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10148
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10149
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10150
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10151
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10152
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10153
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10154
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10155
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10156
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10157
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10158
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10159
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10160
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10161
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10162
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10163
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10164
    }/*function_word_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10165
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10166
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10167
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10168
 *WORD_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10169
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10170
    case function_word_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10171
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10172
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10173
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10174
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10175
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10176
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10177
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10178
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10179
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10180
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10181
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10182
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10183
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10184
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10185
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10186
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10187
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10188
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10189
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10190
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10191
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10192
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10193
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10194
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10195
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10196
    }/*function_word_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10197
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10198
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10199
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10200
 *WORD_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10201
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10202
    case function_word_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10203
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10204
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10205
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10206
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10207
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10208
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10209
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10210
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10211
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10212
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10213
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10214
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10215
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10216
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10217
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10218
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10219
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10220
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10221
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10222
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10223
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10224
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10225
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10226
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10227
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10228
    }/*function_word_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10229
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10230
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10231
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10232
 *WORD_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10233
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10234
    case function_word_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10235
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10236
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10237
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10238
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10239
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10240
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10241
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10242
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10243
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10244
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10245
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10246
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10247
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10248
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10249
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10250
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10251
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10252
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10253
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10254
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10255
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10256
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10257
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10258
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10259
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10260
    }/*function_word_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10261
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10262
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10263
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10264
 *WORD_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10265
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10266
    case function_word_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10267
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10268
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10269
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10270
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10271
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10272
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10273
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10274
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10275
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10276
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10277
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10278
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10279
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10280
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10281
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10282
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10283
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10284
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10285
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10286
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10287
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10288
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10289
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10290
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10291
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10292
    }/*function_word_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10293
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10294
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10295
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10296
 *WORD_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10297
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10298
    case function_word_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10299
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10300
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10301
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10302
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10303
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10304
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10305
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10306
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10307
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10308
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10309
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10310
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10311
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10312
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10313
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10314
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10315
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10316
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10317
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10318
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10319
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10320
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10321
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10322
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10323
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10324
    }/*function_word_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10325
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10326
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10327
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10328
 *WORD_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10329
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10330
    case function_word_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10331
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10332
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10333
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10334
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10335
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10336
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10337
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10338
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10339
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10340
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10341
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10342
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10343
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10344
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10345
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10346
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10347
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10348
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10349
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10350
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10351
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10352
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10353
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10354
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10355
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10356
    }/*function_word_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10357
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10358
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10359
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10360
 *WORD_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10361
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10362
    case function_word_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10363
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10364
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10365
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10366
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10367
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10368
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10369
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10370
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10371
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10372
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10373
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10374
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10375
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10376
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10377
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10378
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10379
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10380
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10381
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10382
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10383
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10384
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10385
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10386
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10387
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10388
    }/*function_word_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10389
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10390
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10391
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10392
 *WORD_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10393
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10394
    case function_word_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10395
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10396
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10397
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10398
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10399
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10400
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10401
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10402
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10403
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10404
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10405
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10406
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10407
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10408
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10409
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10410
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10411
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10412
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10413
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10414
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10415
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10416
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10417
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10418
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10419
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10420
    }/*function_word_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10421
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10422
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10423
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10424
 *WORD_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10425
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10426
    case function_word_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10427
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10428
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10429
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10430
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10431
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10432
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10433
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10434
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10435
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10436
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10437
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10438
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10439
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10440
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10441
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10442
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10443
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10444
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10445
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10446
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10447
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10448
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10449
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10450
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10451
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10452
    }/*function_word_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10453
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10454
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10455
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10456
 *WORD_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10457
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10458
    case function_word_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10459
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10460
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10461
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10462
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10463
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10464
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10465
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10466
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10467
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10468
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10469
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10470
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10471
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10472
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10473
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10474
                return_type_symbol->accept(*this);
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10475
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10476
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10477
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10478
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10479
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10480
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10481
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10482
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10483
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10484
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10485
    }/*function_word_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10486
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10487
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10488
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10489
 *WORD_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10490
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10491
    case function_word_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10492
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10493
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10494
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10495
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10496
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10497
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10498
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10499
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10500
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10501
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10502
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10503
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10504
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10505
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10506
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10507
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10508
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10509
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10510
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10511
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10512
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10513
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10514
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10515
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10516
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10517
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10518
    }/*function_word_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10519
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10520
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10521
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10522
 *WORD_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10523
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10524
    case function_word_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10525
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10526
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10527
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10528
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10529
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10530
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10531
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10532
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10533
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10534
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10535
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10536
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10537
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10538
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10539
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10540
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10541
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10542
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10543
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10544
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10545
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10546
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10547
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10548
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10549
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10550
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10551
    }/*function_word_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10552
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10553
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10554
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10555
 *WORD_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10556
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10557
    case function_word_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10558
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10559
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10560
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10561
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10562
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10563
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10564
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10565
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10566
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10567
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10568
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10569
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10570
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10571
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10572
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10573
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10574
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10575
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10576
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10577
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10578
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10579
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10580
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10581
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10582
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10583
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10584
    }/*function_word_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10585
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10586
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10587
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10588
 *WORD_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10589
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10590
    case function_word_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10591
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10592
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10593
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10594
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10595
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10596
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10597
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10598
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10599
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10600
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10601
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10602
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10603
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10604
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10605
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10606
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10607
                s4o.print(")__bit_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10608
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10609
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10610
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10611
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10612
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10613
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10614
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10615
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10616
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10617
    }/*function_word_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10618
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10619
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10620
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10621
 *WORD_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10622
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10623
    case function_word_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10624
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10625
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10626
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10627
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10628
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10629
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10630
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10631
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10632
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10633
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10634
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10635
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10636
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10637
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10638
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10639
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10640
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10641
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10642
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10643
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10644
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10645
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10646
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10647
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10648
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10649
    }/*function_word_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10650
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10651
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10652
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10653
 *WORD_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10654
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10655
    case function_word_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10656
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10657
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10658
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10659
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10660
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10661
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10662
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10663
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10664
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10665
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10666
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10667
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10668
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10669
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10670
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10671
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10672
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10673
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10674
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10675
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10676
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10677
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10678
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10679
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10680
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10681
    }/*function_word_to_dword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10682
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10683
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10684
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10685
 *WORD_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10686
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10687
    case function_word_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10688
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10689
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10690
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10691
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10692
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10693
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10694
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10695
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10696
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10697
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10698
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10699
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10700
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10701
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10702
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10703
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10704
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10705
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10706
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10707
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10708
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10709
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10710
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10711
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10712
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10713
    }/*function_word_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10714
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10715
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10716
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10717
 *DWORD_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10718
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10719
    case function_dword_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10720
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10721
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10722
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10723
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10724
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10725
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10726
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10727
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10728
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10729
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10730
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10731
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10732
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10733
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10734
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10735
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10736
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10737
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10738
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10739
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10740
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10741
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10742
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10743
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 10744
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10745
    }/*function_dword_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10746
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10747
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10748
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10749
 *DWORD_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10750
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10751
    case function_dword_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10752
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10753
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10754
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10755
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10756
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10757
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10758
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10759
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10760
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10761
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10762
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10763
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10764
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10765
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10766
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10767
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10768
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10769
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10770
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10771
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10772
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10773
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10774
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10775
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10776
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10777
    }/*function_dword_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10778
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10779
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10780
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10781
 *DWORD_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10782
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10783
    case function_dword_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10784
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10785
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10786
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10787
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10788
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10789
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10790
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10791
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10792
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10793
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10794
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10795
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10796
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10797
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10798
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10799
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10800
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10801
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10802
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10803
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10804
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10805
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10806
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10807
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10808
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10809
    }/*function_dword_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10810
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10811
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10812
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10813
 *DWORD_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10814
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10815
    case function_dword_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10816
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10817
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10818
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10819
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10820
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10821
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10822
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10823
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10824
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10825
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10826
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10827
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10828
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10829
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10830
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10831
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10832
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10833
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10834
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10835
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10836
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10837
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10838
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10839
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10840
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10841
    }/*function_dword_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10842
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10843
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10844
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10845
 *DWORD_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10846
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10847
    case function_dword_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10848
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10849
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10850
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10851
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10852
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10853
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10854
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10855
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10856
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10857
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10858
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10859
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10860
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10861
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10862
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10863
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10864
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10865
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10866
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10867
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10868
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10869
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10870
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10871
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10872
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10873
    }/*function_dword_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10874
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10875
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10876
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10877
 *DWORD_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10878
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10879
    case function_dword_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10880
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10881
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10882
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10883
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10884
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10885
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10886
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10887
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10888
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10889
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10890
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10891
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10892
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10893
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10894
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10895
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10896
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10897
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10898
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10899
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10900
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10901
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10902
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10903
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10904
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10905
    }/*function_dword_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10906
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10907
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10908
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10909
 *DWORD_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10910
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10911
    case function_dword_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10912
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10913
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10914
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10915
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10916
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10917
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10918
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10919
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10920
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10921
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10922
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10923
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10924
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10925
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10926
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10927
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10928
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10929
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10930
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10931
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10932
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10933
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10934
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10935
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10936
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10937
    }/*function_dword_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10938
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10939
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10940
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10941
 *DWORD_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10942
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10943
    case function_dword_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10944
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10945
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10946
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10947
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10948
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10949
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10950
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10951
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10952
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10953
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10954
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10955
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10956
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10957
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10958
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10959
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10960
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10961
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10962
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10963
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10964
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10965
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10966
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10967
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10968
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10969
    }/*function_dword_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10970
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10971
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10972
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10973
 *DWORD_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10974
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10975
    case function_dword_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10976
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10977
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10978
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10979
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10980
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10981
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10982
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10983
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10984
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10985
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10986
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10987
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10988
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10989
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10990
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10991
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10992
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10993
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10994
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10995
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10996
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10997
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10998
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 10999
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11000
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11001
    }/*function_dword_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11002
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11003
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11004
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11005
 *DWORD_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11006
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11007
    case function_dword_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11008
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11009
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11010
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11011
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11012
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11013
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11014
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11015
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11016
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11017
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11018
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11019
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11020
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11021
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11022
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11023
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11024
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11025
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11026
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11027
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11028
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11029
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11030
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11031
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11032
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11033
    }/*function_dword_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11034
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11035
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11036
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11037
 *DWORD_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11038
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11039
    case function_dword_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11040
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11041
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11042
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11043
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11044
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11045
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11046
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11047
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11048
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11049
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11050
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11051
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11052
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11053
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11054
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11055
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11056
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11057
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11058
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11059
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11060
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11061
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11062
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11063
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11064
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11065
    }/*function_dword_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11066
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11067
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11068
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11069
 *DWORD_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11070
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11071
    case function_dword_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11072
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11073
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11074
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11075
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11076
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11077
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11078
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11079
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11080
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11081
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11082
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11083
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11084
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11085
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11086
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11087
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11088
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11089
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11090
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11091
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11092
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11093
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11094
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11095
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11096
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11097
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11098
    }/*function_dword_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11099
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11100
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11101
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11102
 *DWORD_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11103
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11104
    case function_dword_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11105
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11106
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11107
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11108
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11109
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11110
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11111
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11112
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11113
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11114
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11115
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11116
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11117
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11118
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11119
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11120
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11121
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11122
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11123
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11124
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11125
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11126
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11127
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11128
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11129
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11130
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11131
    }/*function_dword_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11132
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11133
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11134
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11135
 *DWORD_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11136
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11137
    case function_dword_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11138
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11139
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11140
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11141
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11142
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11143
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11144
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11145
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11146
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11147
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11148
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11149
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11150
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11151
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11152
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11153
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11154
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11155
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11156
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11157
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11158
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11159
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11160
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11161
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11162
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11163
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11164
    }/*function_dword_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11165
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11166
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11167
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11168
 *DWORD_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11169
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11170
    case function_dword_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11171
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11172
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11173
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11174
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11175
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11176
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11177
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11178
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11179
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11180
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11181
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11182
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11183
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11184
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11185
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11186
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11187
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11188
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11189
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11190
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11191
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11192
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11193
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11194
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11195
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11196
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11197
    }/*function_dword_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11198
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11199
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11200
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11201
 *DWORD_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11202
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11203
    case function_dword_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11204
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11205
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11206
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11207
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11208
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11209
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11210
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11211
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11212
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11213
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11214
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11215
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11216
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11217
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11218
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11219
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11220
                s4o.print(")__bit_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11221
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11222
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11223
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11224
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11225
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11226
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11227
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11228
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11229
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11230
    }/*function_dword_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11231
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11232
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11233
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11234
 *DWORD_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11235
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11236
    case function_dword_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11237
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11238
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11239
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11240
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11241
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11242
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11243
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11244
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11245
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11246
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11247
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11248
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11249
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11250
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11251
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11252
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11253
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11254
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11255
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11256
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11257
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11258
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11259
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11260
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11261
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11262
    }/*function_dword_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11263
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11264
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11265
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11266
 *DWORD_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11267
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11268
    case function_dword_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11269
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11270
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11271
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11272
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11273
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11274
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11275
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11276
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11277
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11278
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11279
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11280
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11281
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11282
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11283
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11284
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11285
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11286
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11287
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11288
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11289
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11290
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11291
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11292
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11293
        
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11294
    }/*function_dword_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11295
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11296
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11297
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11298
 *DWORD_TO_LWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11299
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11300
    case function_dword_to_lword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11301
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11302
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11303
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11304
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11305
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11306
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11307
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11308
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11309
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11310
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11311
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11312
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11313
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11314
                symbol_c * return_type_symbol = &search_constant_type_c::lword_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11315
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11316
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11317
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11318
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11319
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11320
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11321
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11322
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11323
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11324
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11325
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11326
    }/*function_dword_to_lword*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11327
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11328
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11329
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11330
 *LWORD_TO_BOOL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11331
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11332
    case function_lword_to_bool :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11333
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11334
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11335
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11336
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11337
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11338
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11339
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11340
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11341
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11342
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11343
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11344
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11345
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11346
                symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11347
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11348
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11349
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11350
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11351
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11352
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11353
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11354
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11355
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11356
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11357
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11358
    }/*function_lword_to_bool*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11359
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11360
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11361
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11362
 *LWORD_TO_SINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11363
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11364
    case function_lword_to_sint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11365
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11366
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11367
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11368
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11369
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11370
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11371
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11372
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11373
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11374
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11375
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11376
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11377
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11378
                symbol_c * return_type_symbol = &search_constant_type_c::sint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11379
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11380
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11381
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11382
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11383
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11384
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11385
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11386
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11387
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11388
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11389
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11390
    }/*function_lword_to_sint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11391
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11392
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11393
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11394
 *LWORD_TO_INT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11395
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11396
    case function_lword_to_int :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11397
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11398
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11399
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11400
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11401
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11402
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11403
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11404
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11405
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11406
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11407
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11408
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11409
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11410
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11411
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11412
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11413
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11414
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11415
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11416
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11417
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11418
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11419
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11420
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11421
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11422
    }/*function_lword_to_int*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11423
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11424
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11425
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11426
 *LWORD_TO_DINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11427
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11428
    case function_lword_to_dint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11429
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11430
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11431
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11432
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11433
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11434
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11435
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11436
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11437
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11438
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11439
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11440
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11441
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11442
                symbol_c * return_type_symbol = &search_constant_type_c::dint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11443
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11444
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11445
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11446
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11447
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11448
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11449
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11450
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11451
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11452
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11453
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11454
    }/*function_lword_to_dint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11455
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11456
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11457
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11458
 *LWORD_TO_LINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11459
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11460
    case function_lword_to_lint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11461
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11462
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11463
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11464
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11465
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11466
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11467
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11468
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11469
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11470
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11471
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11472
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11473
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11474
                symbol_c * return_type_symbol = &search_constant_type_c::lint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11475
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11476
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11477
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11478
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11479
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11480
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11481
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11482
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11483
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11484
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11485
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11486
    }/*function_lword_to_lint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11487
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11488
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11489
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11490
 *LWORD_TO_USINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11491
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11492
    case function_lword_to_usint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11493
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11494
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11495
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11496
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11497
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11498
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11499
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11500
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11501
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11502
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11503
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11504
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11505
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11506
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11507
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11508
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11509
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11510
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11511
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11512
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11513
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11514
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11515
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11516
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11517
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11518
    }/*function_lword_to_usint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11519
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11520
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11521
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11522
 *LWORD_TO_UINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11523
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11524
    case function_lword_to_uint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11525
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11526
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11527
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11528
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11529
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11530
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11531
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11532
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11533
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11534
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11535
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11536
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11537
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11538
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11539
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11540
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11541
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11542
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11543
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11544
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11545
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11546
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11547
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11548
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11549
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11550
    }/*function_lword_to_uint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11551
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11552
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11553
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11554
 *LWORD_TO_UDINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11555
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11556
    case function_lword_to_udint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11557
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11558
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11559
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11560
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11561
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11562
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11563
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11564
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11565
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11566
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11567
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11568
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11569
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11570
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11571
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11572
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11573
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11574
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11575
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11576
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11577
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11578
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11579
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11580
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11581
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11582
    }/*function_lword_to_udint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11583
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11584
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11585
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11586
 *LWORD_TO_ULINT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11587
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11588
    case function_lword_to_ulint :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11589
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11590
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11591
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11592
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11593
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11594
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11595
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11596
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11597
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11598
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11599
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11600
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11601
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11602
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11603
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11604
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11605
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11606
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11607
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11608
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11609
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11610
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11611
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11612
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11613
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11614
    }/*function_lword_to_ulint*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11615
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11616
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11617
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11618
 *LWORD_TO_REAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11619
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11620
    case function_lword_to_real :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11621
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11622
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11623
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11624
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11625
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11626
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11627
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11628
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11629
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11630
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11631
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11632
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11633
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11634
                symbol_c * return_type_symbol = &search_constant_type_c::real_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11635
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11636
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11637
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11638
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11639
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11640
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11641
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11642
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11643
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11644
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11645
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11646
    }/*function_lword_to_real*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11647
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11648
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11649
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11650
 *LWORD_TO_LREAL
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11651
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11652
    case function_lword_to_lreal :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11653
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11654
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11655
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11656
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11657
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11658
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11659
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11660
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11661
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11662
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11663
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11664
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11665
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11666
                symbol_c * return_type_symbol = &search_constant_type_c::lreal_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11667
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11668
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11669
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11670
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11671
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11672
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11673
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11674
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11675
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11676
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11677
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11678
    }/*function_lword_to_lreal*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11679
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11680
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11681
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11682
 *LWORD_TO_TIME
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11683
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11684
    case function_lword_to_time :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11685
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11686
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11687
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11688
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11689
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11690
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11691
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11692
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11693
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11694
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11695
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11696
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11697
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11698
                symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11699
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11700
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11701
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11702
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11703
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11704
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11705
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11706
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11707
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11708
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11709
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11710
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11711
    }/*function_lword_to_time*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11712
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11713
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11714
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11715
 *LWORD_TO_DATE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11716
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11717
    case function_lword_to_date :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11718
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11719
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11720
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11721
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11722
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11723
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11724
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11725
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11726
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11727
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11728
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11729
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11730
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11731
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11732
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11733
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11734
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11735
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11736
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11737
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11738
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11739
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11740
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11741
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11742
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11743
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11744
    }/*function_lword_to_date*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11745
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11746
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11747
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11748
 *LWORD_TO_TOD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11749
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11750
    case function_lword_to_tod :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11751
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11752
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11753
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11754
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11755
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11756
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11757
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11758
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11759
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11760
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11761
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11762
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11763
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11764
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11765
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11766
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11767
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11768
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11769
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11770
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11771
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11772
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11773
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11774
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11775
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11776
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11777
    }/*function_lword_to_tod*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11778
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11779
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11780
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11781
 *LWORD_TO_DT
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11782
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11783
    case function_lword_to_dt :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11784
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11785
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11786
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11787
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11788
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11789
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11790
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11791
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11792
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11793
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11794
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11795
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11796
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11797
                symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11798
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11799
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11800
                s4o.print(")__int_to_time(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11801
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11802
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11803
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11804
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11805
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11806
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11807
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11808
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11809
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11810
    }/*function_lword_to_dt*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11811
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11812
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11813
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11814
 *LWORD_TO_STRING
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11815
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11816
    case function_lword_to_string :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11817
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11818
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11819
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11820
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11821
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11822
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11823
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11824
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11825
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11826
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11827
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11828
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11829
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11830
                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11831
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11832
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11833
                s4o.print(")__bit_to_string(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11834
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11835
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11836
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11837
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11838
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11839
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11840
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11841
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11842
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11843
    }/*function_lword_to_string*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11844
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11845
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11846
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11847
 *LWORD_TO_BYTE
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11848
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11849
    case function_lword_to_byte :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11850
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11851
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11852
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11853
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11854
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11855
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11856
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11857
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11858
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11859
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11860
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11861
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11862
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11863
                symbol_c * return_type_symbol = &search_constant_type_c::byte_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11864
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11865
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11866
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11867
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11868
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11869
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11870
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11871
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11872
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11873
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11874
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11875
    }/*function_lword_to_byte*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11876
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11877
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11878
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11879
 *LWORD_TO_WORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11880
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11881
    case function_lword_to_word :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11882
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11883
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11884
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11885
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11886
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11887
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11888
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11889
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11890
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11891
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11892
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11893
            {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11894
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11895
                symbol_c * return_type_symbol = &search_constant_type_c::word_type_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11896
                s4o.print("(");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11897
                return_type_symbol->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11898
                s4o.print(")");
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11899
                IN_param_value->accept(*this);
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11900
                return NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11901
                
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11902
            }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11903
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11904
            ERROR;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11905
        }
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11906
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11907
    }/*function_lword_to_word*/
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11908
    break;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11909
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11910
/****
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11911
 *LWORD_TO_DWORD
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11912
 */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11913
    case function_lword_to_dword :
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11914
    {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11915
        symbol_c *last_type_symbol = NULL;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11916
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11917
        {
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11918
            /* Get the value from a foo(<param_name> = <param_value>) style call */
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11919
            symbol_c *IN_param_value = &this->default_variable_name;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11920
        
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11921
            symbol_c *IN_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11922
            last_type_symbol = param_data_type;
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11923
            
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 11924
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11925
            {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11926
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11927
                symbol_c * return_type_symbol = &search_constant_type_c::dword_type_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11928
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11929
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11930
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11931
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11932
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11933
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11934
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11935
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11936
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11937
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11938
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11939
    }/*function_lword_to_dword*/
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11940
    break;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11941
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11942
/****
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11943
 *TRUNC
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11944
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11945
    case function_trunc :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11946
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11947
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11948
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11949
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11950
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11951
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11952
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11953
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11954
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11955
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11956
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11957
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11958
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11959
                symbol_c * return_type_symbol = &search_constant_type_c::constant_int_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11960
                s4o.print("(int)");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11961
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11962
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11963
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11964
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11965
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11966
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11967
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11968
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11969
    }/*function_trunc*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11970
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11971
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11972
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11973
 *BCD_TO_USINT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11974
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11975
    case function_bcd_to_usint :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11976
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11977
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11978
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11979
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11980
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11981
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11982
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11983
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11984
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11985
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11986
            if (typeid(*last_type_symbol) == typeid(byte_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11987
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11988
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11989
                symbol_c * return_type_symbol = &search_constant_type_c::usint_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11990
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11991
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 11992
                s4o.print(")__bcd_to_uint(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11993
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11994
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11995
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11996
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11997
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11998
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 11999
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12000
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12001
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12002
    }/*function_bcd_to_usint*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12003
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12004
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12005
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12006
 *BCD_TO_UINT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12007
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12008
    case function_bcd_to_uint :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12009
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12010
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12011
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12012
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12013
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12014
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12015
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12016
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12017
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12018
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12019
            if (typeid(*last_type_symbol) == typeid(word_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12020
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12021
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12022
                symbol_c * return_type_symbol = &search_constant_type_c::uint_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12023
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12024
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12025
                s4o.print(")__bcd_to_uint(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12026
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12027
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12028
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12029
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12030
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12031
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12032
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12033
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12034
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12035
    }/*function_bcd_to_uint*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12036
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12037
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12038
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12039
 *BCD_TO_UDINT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12040
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12041
    case function_bcd_to_udint :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12042
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12043
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12044
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12045
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12046
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12047
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12048
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12049
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12050
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12051
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12052
            if (typeid(*last_type_symbol) == typeid(dword_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12053
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12054
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12055
                symbol_c * return_type_symbol = &search_constant_type_c::udint_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12056
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12057
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12058
                s4o.print(")__bcd_to_uint(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12059
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12060
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12061
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12062
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12063
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12064
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12065
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12066
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12067
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12068
    }/*function_bcd_to_udint*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12069
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12070
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12071
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12072
 *BCD_TO_ULINT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12073
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12074
    case function_bcd_to_ulint :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12075
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12076
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12077
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12078
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12079
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12080
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12081
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12082
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12083
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12084
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12085
            if (typeid(*last_type_symbol) == typeid(lword_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12086
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12087
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12088
                symbol_c * return_type_symbol = &search_constant_type_c::ulint_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12089
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12090
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12091
                s4o.print(")__bcd_to_uint(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12092
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12093
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12094
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12095
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12096
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12097
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12098
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12099
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12100
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12101
    }/*function_bcd_to_ulint*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12102
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12103
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12104
/****
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12105
 *USINT_TO_BCD
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12106
 */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12107
    case function_usint_to_bcd :
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12108
    {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12109
        symbol_c *last_type_symbol = NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12110
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12111
        {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12112
            /* Get the value from a foo(<param_name> = <param_value>) style call */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12113
            symbol_c *IN_param_value = &this->default_variable_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12114
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12115
            symbol_c *IN_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12116
            last_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12117
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12118
            if (typeid(*last_type_symbol) == typeid(usint_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12119
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12120
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12121
                symbol_c * return_type_symbol = &search_constant_type_c::constant_int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12122
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12123
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12124
                s4o.print(")__uint_to_bcd(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12125
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12126
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12127
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12128
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12129
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12130
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12131
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12132
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12133
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12134
    }/*function_usint_to_bcd*/
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12135
    break;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12136
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12137
/****
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12138
 *UINT_TO_BCD
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12139
 */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12140
    case function_uint_to_bcd :
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12141
    {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12142
        symbol_c *last_type_symbol = NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12143
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12144
        {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12145
            /* Get the value from a foo(<param_name> = <param_value>) style call */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12146
            symbol_c *IN_param_value = &this->default_variable_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12147
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12148
            symbol_c *IN_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12149
            last_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12150
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12151
            if (typeid(*last_type_symbol) == typeid(uint_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12152
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12153
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12154
                symbol_c * return_type_symbol = &search_constant_type_c::constant_int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12155
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12156
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12157
                s4o.print(")__uint_to_bcd(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12158
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12159
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12160
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12161
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12162
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12163
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12164
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12165
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12166
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12167
    }/*function_uint_to_bcd*/
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12168
    break;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12169
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12170
/****
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12171
 *UDINT_TO_BCD
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12172
 */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12173
    case function_udint_to_bcd :
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12174
    {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12175
        symbol_c *last_type_symbol = NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12176
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12177
        {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12178
            /* Get the value from a foo(<param_name> = <param_value>) style call */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12179
            symbol_c *IN_param_value = &this->default_variable_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12180
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12181
            symbol_c *IN_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12182
            last_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12183
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12184
            if (typeid(*last_type_symbol) == typeid(udint_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12185
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12186
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12187
                symbol_c * return_type_symbol = &search_constant_type_c::constant_int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12188
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12189
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12190
                s4o.print(")__uint_to_bcd(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12191
                IN_param_value->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12192
                s4o.print(")");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12193
                return NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12194
                
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12195
            }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12196
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12197
            ERROR;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12198
        }
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12199
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12200
    }/*function_udint_to_bcd*/
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12201
    break;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12202
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12203
/****
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12204
 *ULINT_TO_BCD
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12205
 */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12206
    case function_ulint_to_bcd :
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12207
    {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12208
        symbol_c *last_type_symbol = NULL;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12209
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12210
        {
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12211
            /* Get the value from a foo(<param_name> = <param_value>) style call */
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12212
            symbol_c *IN_param_value = &this->default_variable_name;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12213
        
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12214
            symbol_c *IN_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12215
            last_type_symbol = param_data_type;
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12216
            
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12217
            if (typeid(*last_type_symbol) == typeid(ulint_type_name_c))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12218
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12219
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12220
                symbol_c * return_type_symbol = &search_constant_type_c::constant_int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12221
                s4o.print("(");
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12222
                return_type_symbol->accept(*this);
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12223
                s4o.print(")__uint_to_bcd(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12224
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12225
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12226
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12227
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12228
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12229
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12230
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12231
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12232
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12233
    }/*function_ulint_to_bcd*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12234
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12235
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12236
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12237
 *DATE_AND_TIME_TO_TIME_OF_DAY
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12238
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12239
    case function_date_and_time_to_time_of_day :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12240
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12241
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12242
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12243
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12244
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12245
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12246
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12247
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12248
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12249
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12250
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12251
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12252
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12253
                symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12254
                s4o.print("__date_and_time_to_time_of_day(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12255
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12256
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12257
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12258
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12259
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12260
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12261
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12262
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12263
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12264
    }/*function_date_and_time_to_time_of_day*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12265
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12266
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12267
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12268
 *DATE_AND_TIME_TO_DATE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12269
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12270
    case function_date_and_time_to_date :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12271
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12272
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12273
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12274
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12275
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12276
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12277
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12278
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12279
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12280
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12281
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12282
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12283
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12284
                symbol_c * return_type_symbol = &search_constant_type_c::date_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12285
                s4o.print("__date_and_time_to_date(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12286
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12287
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12288
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12289
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12290
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12291
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12292
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12293
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12294
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12295
    }/*function_date_and_time_to_date*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12296
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12297
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12298
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12299
 *ABS
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12300
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12301
    case function_abs :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12302
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12303
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12304
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12305
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12306
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12307
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12308
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12309
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12310
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12311
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12312
            if(search_expression_type->is_num_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12313
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12314
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12315
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12316
                s4o.print("__abs_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12317
                IN_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12318
                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12319
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12320
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12321
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12322
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12323
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12324
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12325
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12326
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12327
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12328
    }/*function_abs*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12329
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12330
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12331
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12332
 *SQRT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12333
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12334
    case function_sqrt :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12335
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12336
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12337
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12338
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12339
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12340
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12341
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12342
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12343
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12344
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12345
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12346
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12347
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12348
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12349
                s4o.print("sqrt(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12350
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12351
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12352
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12353
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12354
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12355
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12356
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12357
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12358
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12359
    }/*function_sqrt*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12360
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12361
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12362
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12363
 *LN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12364
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12365
    case function_ln :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12366
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12367
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12368
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12369
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12370
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12371
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12372
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12373
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12374
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12375
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12376
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12377
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12378
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12379
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12380
                s4o.print("ln(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12381
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12382
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12383
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12384
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12385
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12386
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12387
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12388
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12389
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12390
    }/*function_ln*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12391
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12392
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12393
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12394
 *LOG
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12395
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12396
    case function_log :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12397
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12398
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12399
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12400
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12401
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12402
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12403
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12404
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12405
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12406
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12407
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12408
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12409
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12410
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12411
                s4o.print("log(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12412
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12413
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12414
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12415
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12416
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12417
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12418
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12419
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12420
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12421
    }/*function_log*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12422
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12423
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12424
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12425
 *EXP
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12426
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12427
    case function_exp :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12428
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12429
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12430
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12431
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12432
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12433
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12434
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12435
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12436
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12437
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12438
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12439
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12440
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12441
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12442
                s4o.print("exp(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12443
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12444
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12445
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12446
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12447
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12448
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12449
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12450
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12451
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12452
    }/*function_exp*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12453
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12454
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12455
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12456
 *SIN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12457
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12458
    case function_sin :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12459
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12460
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12461
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12462
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12463
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12464
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12465
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12466
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12467
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12468
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12469
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12470
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12471
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12472
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12473
                s4o.print("sin(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12474
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12475
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12476
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12477
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12478
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12479
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12480
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12481
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12482
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12483
    }/*function_sin*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12484
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12485
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12486
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12487
 *COS
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12488
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12489
    case function_cos :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12490
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12491
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12492
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12493
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12494
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12495
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12496
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12497
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12498
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12499
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12500
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12501
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12502
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12503
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12504
                s4o.print("cos(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12505
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12506
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12507
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12508
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12509
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12510
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12511
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12512
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12513
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12514
    }/*function_cos*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12515
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12516
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12517
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12518
 *TAN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12519
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12520
    case function_tan :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12521
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12522
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12523
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12524
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12525
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12526
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12527
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12528
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12529
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12530
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12531
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12532
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12533
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12534
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12535
                s4o.print("tan(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12536
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12537
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12538
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12539
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12540
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12541
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12542
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12543
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12544
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12545
    }/*function_tan*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12546
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12547
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12548
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12549
 *ASIN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12550
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12551
    case function_asin :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12552
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12553
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12554
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12555
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12556
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12557
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12558
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12559
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12560
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12561
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12562
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12563
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12564
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12565
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12566
                s4o.print("asin(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12567
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12568
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12569
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12570
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12571
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12572
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12573
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12574
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12575
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12576
    }/*function_asin*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12577
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12578
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12579
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12580
 *ACOS
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12581
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12582
    case function_acos :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12583
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12584
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12585
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12586
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12587
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12588
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12589
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12590
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12591
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12592
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12593
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12594
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12595
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12596
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12597
                s4o.print("acos(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12598
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12599
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12600
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12601
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12602
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12603
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12604
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12605
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12606
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12607
    }/*function_acos*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12608
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12609
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12610
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12611
 *ATAN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12612
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12613
    case function_atan :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12614
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12615
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12616
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12617
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12618
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12619
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12620
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12621
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12622
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12623
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12624
            if(search_expression_type->is_real_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12625
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12626
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12627
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12628
                s4o.print("atan(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12629
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12630
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12631
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12632
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12633
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12634
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12635
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12636
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12637
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12638
    }/*function_atan*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12639
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12640
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12641
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12642
 *ADD
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12643
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12644
    case function_add :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12645
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12646
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12647
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12648
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12649
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12650
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12651
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12652
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12653
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12654
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12655
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12656
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12657
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12658
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12659
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12660
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12661
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12662
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12663
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12664
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12665
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12666
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12667
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12668
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12669
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12670
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12671
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12672
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12673
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12674
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12675
                        s4o.print("+");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12676
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12677
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12678
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12679
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12680
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12681
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12682
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12683
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12684
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12685
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12686
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12687
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12688
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12689
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12690
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12691
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12692
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12693
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12694
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12695
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12696
                                s4o.print("+");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12697
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12698
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12699
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12700
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12701
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12702
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12703
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12704
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12705
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12706
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12707
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12708
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12709
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12710
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12711
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12712
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12713
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12714
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12715
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12716
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12717
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12718
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12719
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12720
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12721
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12722
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12723
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12724
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12725
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12726
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12727
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12728
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12729
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12730
                        symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12731
                        s4o.print("__time_add(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12732
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12733
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12734
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12735
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12736
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12737
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12738
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12739
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12740
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12741
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12742
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12743
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12744
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12745
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12746
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12747
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12748
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12749
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12750
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12751
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12752
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12753
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12754
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12755
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12756
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12757
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12758
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12759
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12760
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12761
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12762
                        symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12763
                        s4o.print("__time_add(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12764
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12765
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12766
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12767
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12768
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12769
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12770
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12771
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12772
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12773
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12774
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12775
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12776
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12777
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12778
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12779
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12780
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12781
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12782
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12783
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12784
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12785
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12786
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12787
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12788
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12789
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12790
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12791
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12792
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12793
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12794
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12795
                        s4o.print("__time_add(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12796
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12797
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12798
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12799
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12800
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12801
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12802
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12803
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12804
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12805
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12806
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12807
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12808
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12809
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12810
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12811
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12812
    }/*function_add*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12813
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12814
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12815
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12816
 *MUL
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12817
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12818
    case function_mul :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12819
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12820
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12821
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12822
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12823
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12824
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12825
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12826
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12827
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12828
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12829
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12830
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12831
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12832
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12833
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12834
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12835
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12836
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12837
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12838
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12839
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12840
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12841
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12842
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12843
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12844
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12845
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12846
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12847
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12848
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12849
                        s4o.print("*");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12850
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12851
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12852
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12853
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12854
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12855
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12856
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12857
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12858
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12859
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12860
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12861
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12862
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12863
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12864
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12865
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12866
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12867
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12868
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12869
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12870
                                s4o.print("*");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12871
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12872
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12873
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12874
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12875
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12876
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12877
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12878
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12879
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12880
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12881
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12882
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12883
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12884
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12885
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12886
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12887
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12888
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12889
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12890
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12891
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12892
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12893
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12894
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12895
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12896
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12897
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12898
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12899
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12900
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12901
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12902
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12903
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12904
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12905
                        s4o.print("__time_mul(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12906
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12907
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12908
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12909
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12910
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12911
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12912
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12913
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12914
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12915
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12916
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12917
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12918
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12919
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12920
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12921
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12922
    }/*function_mul*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12923
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12924
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12925
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12926
 *SUB
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12927
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12928
    case function_sub :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12929
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12930
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12931
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12932
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12933
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12934
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12935
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12936
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12937
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12938
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12939
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12940
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12941
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12942
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12943
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12944
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12945
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12946
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12947
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12948
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12949
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12950
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12951
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12952
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12953
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12954
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12955
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12956
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12957
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12958
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12959
                        s4o.print("-");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12960
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12961
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12962
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12963
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12964
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12965
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12966
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12967
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12968
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12969
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12970
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12971
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12972
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12973
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12974
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12975
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12976
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12977
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12978
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12979
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12980
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12981
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12982
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12983
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12984
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12985
                    if (typeid(*last_type_symbol) == typeid(date_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12986
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12987
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12988
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12989
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12990
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 12991
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12992
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12993
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12994
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12995
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12996
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12997
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12998
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 12999
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13000
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13001
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13002
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13003
            if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13004
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13005
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13006
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13007
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13008
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13009
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13010
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13011
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13012
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13013
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13014
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13015
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13016
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13017
                    if (typeid(*last_type_symbol) == typeid(dt_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13018
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13019
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13020
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13021
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13022
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13023
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13024
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13025
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13026
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13027
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13028
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13029
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13030
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13031
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13032
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13033
                        symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13034
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13035
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13036
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13037
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13038
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13039
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13040
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13041
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13042
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13043
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13044
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13045
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13046
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13047
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13048
            if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13049
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13050
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13051
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13052
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13053
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13054
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13055
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13056
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13057
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13058
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13059
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13060
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13061
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13062
                    if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13063
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13064
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13065
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13066
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13067
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13068
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13069
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13070
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13071
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13072
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13073
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13074
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13075
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13076
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13077
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13078
                        symbol_c * return_type_symbol = &search_constant_type_c::tod_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13079
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13080
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13081
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13082
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13083
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13084
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13085
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13086
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13087
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13088
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13089
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13090
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13091
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13092
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13093
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13094
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13095
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13096
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13097
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13098
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13099
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13100
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13101
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13102
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13103
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13104
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13105
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13106
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13107
                    if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13108
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13109
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13110
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13111
                        s4o.print("__time_sub(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13112
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13113
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13114
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13115
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13116
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13117
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13118
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13119
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13120
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13121
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13122
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13123
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13124
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13125
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13126
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13127
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13128
    }/*function_sub*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13129
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13130
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13131
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13132
 *DIV
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13133
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13134
    case function_div :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13135
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13136
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13137
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13138
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13139
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13140
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13141
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13142
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13143
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13144
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13145
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13146
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13147
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13148
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13149
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13150
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13151
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13152
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13153
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13154
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13155
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13156
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13157
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13158
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13159
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13160
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13161
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13162
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13163
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13164
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13165
                        s4o.print("/");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13166
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13167
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13168
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13169
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13170
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13171
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13172
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13173
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13174
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13175
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13176
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13177
            if (typeid(*last_type_symbol) == typeid(time_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13178
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13179
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13180
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13181
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13182
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13183
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13184
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13185
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13186
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13187
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13188
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13189
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13190
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13191
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13192
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13193
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13194
                        symbol_c * return_type_symbol = &search_constant_type_c::time_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13195
                        s4o.print("__time_div(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13196
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13197
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13198
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13199
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13200
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13201
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13202
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13203
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13204
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13205
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13206
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13207
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13208
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13209
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13210
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13211
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13212
    }/*function_div*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13213
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13214
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13215
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13216
 *MOD
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13217
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13218
    case function_mod :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13219
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13220
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13221
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13222
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13223
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13224
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13225
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13226
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13227
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13228
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13229
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13230
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13231
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13232
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13233
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13234
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13235
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13236
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13237
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13238
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13239
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13240
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13241
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13242
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13243
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13244
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13245
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13246
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13247
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13248
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13249
                        s4o.print("%");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13250
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13251
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13252
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13253
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13254
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13255
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13256
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13257
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13258
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13259
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13260
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13261
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13262
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13263
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13264
    }/*function_mod*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13265
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13266
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13267
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13268
 *EXPT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13269
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13270
    case function_expt :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13271
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13272
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13273
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13274
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13275
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13276
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13277
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13278
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13279
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13280
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13281
            if(search_expression_type->is_num_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13282
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13283
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13284
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13285
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13286
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13287
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13288
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13289
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13290
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13291
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13292
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13293
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13294
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13295
                    if(search_expression_type->is_num_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13296
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13297
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13298
                        symbol_c * return_type_symbol = last_type_symbol;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13299
                        s4o.print("pow(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13300
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13301
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13302
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13303
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13304
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13305
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13306
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13307
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13308
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13309
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13310
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13311
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13312
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13313
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13314
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13315
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13316
    }/*function_expt*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13317
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13318
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13319
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13320
 *MOVE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13321
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13322
    case function_move :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13323
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13324
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13325
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13326
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13327
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13328
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13329
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13330
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13331
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13332
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13333
            if(search_expression_type->is_num_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13334
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13335
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13336
                symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13337
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13338
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13339
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13340
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13341
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13342
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13343
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13344
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13345
    }/*function_move*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13346
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13347
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13348
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13349
 *SHL
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13350
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13351
    case function_shl :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13352
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13353
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13354
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13355
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13356
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13357
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13358
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13359
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13360
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13361
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13362
            if(search_expression_type->is_binary_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13363
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13364
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13365
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13366
                    identifier_c param_name("N");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13367
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13368
                    symbol_c *N_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13369
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13370
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13371
                    if (N_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13372
                      N_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13373
                    symbol_c *N_type_symbol = search_expression_type->get_type(N_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13374
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(N_type_symbol, last_type_symbol) ? search_expression_type->common_type(N_type_symbol, last_type_symbol) : N_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13375
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 13376
                    if(search_expression_type->is_integer_type(N_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13377
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13378
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13379
                        symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13380
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13381
                        s4o.print("<<");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13382
                        N_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13383
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13384
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13385
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13386
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13387
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13388
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13389
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13390
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13391
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13392
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13393
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13394
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13395
    }/*function_shl*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13396
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13397
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13398
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13399
 *SHR
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13400
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13401
    case function_shr :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13402
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13403
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13404
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13405
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13406
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13407
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13408
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13409
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13410
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13411
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13412
            if(search_expression_type->is_binary_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13413
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13414
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13415
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13416
                    identifier_c param_name("N");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13417
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13418
                    symbol_c *N_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13419
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13420
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13421
                    if (N_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13422
                      N_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13423
                    symbol_c *N_type_symbol = search_expression_type->get_type(N_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13424
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(N_type_symbol, last_type_symbol) ? search_expression_type->common_type(N_type_symbol, last_type_symbol) : N_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13425
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 13426
                    if(search_expression_type->is_integer_type(N_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13427
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13428
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13429
                        symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13430
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13431
                        s4o.print(">>");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13432
                        N_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13433
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13434
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13435
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13436
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13437
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13438
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13439
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13440
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13441
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13442
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13443
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13444
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13445
    }/*function_shr*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13446
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13447
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13448
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13449
 *ROR
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13450
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13451
    case function_ror :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13452
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13453
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13454
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13455
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13456
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13457
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13458
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13459
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13460
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13461
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13462
            if(search_expression_type->is_nbinary_type(IN_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13463
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13464
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13465
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13466
                    identifier_c param_name("N");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13467
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13468
                    symbol_c *N_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13469
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13470
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13471
                    if (N_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13472
                      N_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13473
                    symbol_c *N_type_symbol = search_expression_type->get_type(N_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13474
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(N_type_symbol, last_type_symbol) ? search_expression_type->common_type(N_type_symbol, last_type_symbol) : N_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13475
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 13476
                    if(search_expression_type->is_integer_type(N_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13477
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13478
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13479
                        symbol_c * return_type_symbol = IN_type_symbol;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13480
                        s4o.print("__ror_");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13481
                        IN_type_symbol->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13482
                        s4o.print("(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13483
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13484
                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13485
                        N_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13486
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13487
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13488
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13489
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13490
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13491
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13492
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13493
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13494
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13495
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13496
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13497
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13498
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13499
    }/*function_ror*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13500
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13501
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13502
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13503
 *ROL
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13504
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13505
    case function_rol :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13506
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13507
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13508
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13509
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13510
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13511
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13512
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13513
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13514
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13515
            
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13516
            if(search_expression_type->is_nbinary_type(IN_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13517
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13518
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13519
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13520
                    identifier_c param_name("N");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13521
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13522
                    symbol_c *N_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13523
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13524
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13525
                    if (N_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13526
                      N_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13527
                    symbol_c *N_type_symbol = search_expression_type->get_type(N_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13528
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(N_type_symbol, last_type_symbol) ? search_expression_type->common_type(N_type_symbol, last_type_symbol) : N_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13529
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 13530
                    if(search_expression_type->is_integer_type(N_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13531
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13532
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13533
                        symbol_c * return_type_symbol = IN_type_symbol;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13534
                        s4o.print("__rol_");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13535
                        IN_type_symbol->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 13536
                        s4o.print("(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13537
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13538
                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13539
                        N_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13540
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13541
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13542
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13543
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13544
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13545
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13546
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13547
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13548
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13549
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13550
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13551
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13552
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13553
    }/*function_rol*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13554
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13555
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13556
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13557
 *AND
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13558
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13559
    case function_and :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13560
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13561
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13562
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13563
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13564
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13565
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13566
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13567
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13568
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13569
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13570
            if(search_expression_type->is_binary_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13571
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13572
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13573
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13574
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13575
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13576
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13577
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13578
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13579
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13580
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13581
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13582
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13583
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13584
                    if(search_expression_type->is_binary_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13585
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13586
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13587
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13588
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13589
                        if (search_expression_type->is_bool_type(last_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13590
                          s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13591
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13592
                        s4o.print("&");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13593
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13594
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13595
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13596
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13597
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13598
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13599
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13600
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13601
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13602
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13603
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13604
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13605
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13606
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13607
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13608
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13609
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13610
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13611
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13612
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13613
                                s4o.print("&");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13614
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13615
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13616
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13617
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13618
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13619
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13620
                        if (search_expression_type->is_bool_type(last_type_symbol)) {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13621
                          s4o.print("&1");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13622
                          s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13623
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13624
                        s4o.print("");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13625
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13626
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13627
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13628
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13629
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13630
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13631
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13632
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13633
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13634
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13635
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13636
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13637
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13638
    }/*function_and*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13639
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13640
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13641
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13642
 *OR
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13643
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13644
    case function_or :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13645
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13646
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13647
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13648
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13649
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13650
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13651
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13652
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13653
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13654
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13655
            if(search_expression_type->is_binary_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13656
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13657
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13658
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13659
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13660
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13661
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13662
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13663
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13664
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13665
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13666
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13667
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13668
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13669
                    if(search_expression_type->is_binary_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13670
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13671
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13672
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13673
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13674
                        if (search_expression_type->is_bool_type(last_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13675
                          s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13676
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13677
                        s4o.print("|");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13678
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13679
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13680
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13681
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13682
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13683
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13684
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13685
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13686
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13687
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13688
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13689
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13690
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13691
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13692
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13693
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13694
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13695
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13696
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13697
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13698
                                s4o.print("|");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13699
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13700
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13701
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13702
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13703
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13704
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13705
                        if (search_expression_type->is_bool_type(last_type_symbol)) {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13706
                          s4o.print("&1");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13707
                          s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13708
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13709
                        s4o.print("");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13710
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13711
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13712
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13713
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13714
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13715
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13716
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13717
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13718
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13719
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13720
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13721
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13722
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13723
    }/*function_or*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13724
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13725
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13726
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13727
 *XOR
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13728
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13729
    case function_xor :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13730
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13731
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13732
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13733
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13734
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13735
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13736
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13737
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13738
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13739
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13740
            if(search_expression_type->is_binary_type(IN1_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13741
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13742
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13743
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13744
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13745
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13746
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13747
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13748
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13749
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13750
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13751
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13752
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13753
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13754
                    if(search_expression_type->is_binary_type(IN2_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13755
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13756
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13757
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13758
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13759
                        if (search_expression_type->is_bool_type(last_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13760
                          s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13761
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13762
                        s4o.print("^");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13763
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13764
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13765
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13766
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13767
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13768
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13769
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13770
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13771
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13772
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13773
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13774
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13775
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13776
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13777
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13778
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13779
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13780
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13781
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13782
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13783
                                s4o.print("^");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13784
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13785
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13786
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13787
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13788
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13789
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13790
                        if (search_expression_type->is_bool_type(last_type_symbol)) {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13791
                          s4o.print("&1");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13792
                          s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13793
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13794
                        s4o.print("");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13795
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13796
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13797
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13798
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13799
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13800
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13801
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13802
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13803
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13804
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13805
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13806
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13807
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13808
    }/*function_xor*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13809
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13810
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13811
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13812
 *NOT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13813
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13814
    case function_not :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13815
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13816
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13817
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13818
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13819
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13820
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13821
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13822
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13823
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13824
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13825
            if(search_expression_type->is_binary_type(IN_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13826
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13827
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13828
                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13829
                s4o.print("~");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13830
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13831
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13832
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13833
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13834
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13835
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13836
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13837
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13838
    }/*function_not*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13839
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13840
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13841
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13842
 *SEL
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13843
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13844
    case function_sel :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13845
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13846
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13847
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13848
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13849
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13850
            symbol_c *G_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13851
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13852
            symbol_c *G_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13853
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13854
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13855
            if (typeid(*last_type_symbol) == typeid(bool_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13856
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13857
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13858
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13859
                    identifier_c param_name("IN0");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13860
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13861
                    symbol_c *IN0_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13862
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13863
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13864
                    if (IN0_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13865
                      IN0_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13866
                    symbol_c *IN0_type_symbol = search_expression_type->get_type(IN0_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13867
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN0_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN0_type_symbol, last_type_symbol) : IN0_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13868
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13869
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13870
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13871
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13872
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13873
                            identifier_c param_name("IN1");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13874
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13875
                            symbol_c *IN1_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13876
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13877
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13878
                            if (IN1_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13879
                              IN1_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13880
                            symbol_c *IN1_type_symbol = search_expression_type->get_type(IN1_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13881
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN1_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN1_type_symbol, last_type_symbol) : IN1_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13882
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13883
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13884
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13885
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13886
                                symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13887
                                G_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13888
                                s4o.print(" ? ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13889
                                IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13890
                                s4o.print(" :  ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13891
                                IN0_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13892
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13893
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13894
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13895
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13896
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13897
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13898
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13899
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13900
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13901
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13902
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13903
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13904
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13905
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13906
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13907
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13908
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13909
    }/*function_sel*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13910
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13911
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13912
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13913
 *MAX
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13914
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13915
    case function_max :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13916
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13917
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13918
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13919
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13920
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13921
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13922
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13923
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13924
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13925
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13926
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13927
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13928
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13929
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13930
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13931
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13932
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13933
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13934
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13935
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13936
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13937
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13938
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13939
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13940
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13941
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13942
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13943
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13944
                        s4o.print("__max_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13945
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13946
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13947
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13948
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13949
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13950
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13951
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13952
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13953
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13954
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13955
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13956
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13957
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13958
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13959
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13960
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13961
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13962
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13963
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13964
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13965
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13966
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13967
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13968
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13969
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13970
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13971
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13972
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13973
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13974
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13975
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13976
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13977
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13978
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13979
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13980
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13981
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13982
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13983
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13984
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13985
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13986
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13987
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13988
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13989
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13990
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13991
    }/*function_max*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13992
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13993
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13994
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13995
 *MIN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13996
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13997
    case function_min :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13998
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 13999
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14000
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14001
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14002
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14003
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14004
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14005
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14006
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14007
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14008
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14009
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14010
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14011
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14012
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14013
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14014
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14015
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14016
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14017
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14018
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14019
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14020
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14021
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14022
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14023
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14024
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14025
                        symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14026
                        s4o.print("__min_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14027
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14028
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14029
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14030
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14031
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14032
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14033
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14034
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14035
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14036
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14037
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14038
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14039
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14040
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14041
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14042
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14043
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14044
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14045
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14046
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14047
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14048
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14049
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14050
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14051
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14052
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14053
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14054
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14055
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14056
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14057
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14058
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14059
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14060
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14061
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14062
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14063
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14064
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14065
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14066
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14067
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14068
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14069
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14070
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14071
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14072
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14073
    }/*function_min*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14074
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14075
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14076
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14077
 *LIMIT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14078
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14079
    case function_limit :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14080
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14081
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14082
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14083
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14084
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14085
            symbol_c *MN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14086
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14087
            symbol_c *MN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14088
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14089
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14090
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14091
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14092
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14093
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14094
                    identifier_c param_name("IN");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14095
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14096
                    symbol_c *IN_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14097
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14098
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14099
                    if (IN_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14100
                      IN_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14101
                    symbol_c *IN_type_symbol = search_expression_type->get_type(IN_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14102
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN_type_symbol, last_type_symbol) : IN_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14103
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14104
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14105
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14106
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14107
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14108
                            identifier_c param_name("MX");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14109
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14110
                            symbol_c *MX_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14111
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14112
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14113
                            if (MX_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14114
                              MX_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14115
                            symbol_c *MX_type_symbol = search_expression_type->get_type(MX_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14116
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(MX_type_symbol, last_type_symbol) ? search_expression_type->common_type(MX_type_symbol, last_type_symbol) : MX_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14117
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14118
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14119
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14120
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14121
                                symbol_c * return_type_symbol = IN_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14122
                                s4o.print("__limit_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14123
                                IN_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14124
                                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14125
                                MN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14126
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14127
                                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14128
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14129
                                MX_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14130
                                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14131
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14132
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14133
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14134
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14135
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14136
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14137
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14138
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14139
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14140
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14141
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14142
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14143
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14144
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14145
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14146
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14147
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14148
    }/*function_limit*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14149
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14150
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14151
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14152
 *MUX
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14153
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14154
    case function_mux :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14155
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14156
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14157
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14158
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14159
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14160
            symbol_c *K_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14161
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14162
            symbol_c *K_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14163
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14164
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14165
            if(search_expression_type->is_integer_type(K_type_symbol))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14166
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14167
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14168
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14169
                    identifier_c param_name("IN0");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14170
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14171
                    symbol_c *IN0_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14172
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14173
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14174
                    if (IN0_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14175
                      IN0_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14176
                    symbol_c *IN0_type_symbol = search_expression_type->get_type(IN0_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14177
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN0_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN0_type_symbol, last_type_symbol) : IN0_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14178
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14179
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14180
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14181
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14182
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14183
                            identifier_c param_name("IN1");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14184
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14185
                            symbol_c *IN1_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14186
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14187
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14188
                            if (IN1_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14189
                              IN1_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14190
                            symbol_c *IN1_type_symbol = search_expression_type->get_type(IN1_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14191
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN1_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN1_type_symbol, last_type_symbol) : IN1_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14192
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14193
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14194
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14195
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14196
                                symbol_c * return_type_symbol = last_type_symbol;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14197
                                s4o.print("__mux_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14198
                                return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14199
                                s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14200
                                s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14201
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14202
                                K_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14203
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14204
                                IN0_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14205
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14206
                                IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14207
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14208
                                int base_num = 2;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14209
                                symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14210
                                do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14211
                                    char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14212
                                    sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14213
                                    identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14214
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14215
                                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14216
                                    param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14217
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14218
                                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14219
                                    if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14220
                                      param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14221
                                    if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14222
                                        symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14223
                                        last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14224
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14225
                                        /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14226
                                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14227
                                        param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14228
                                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14229
                                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14230
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14231
                                }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14232
                                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14233
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14234
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14235
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14236
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14237
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14238
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14239
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14240
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14241
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14242
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14243
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14244
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14245
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14246
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14247
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14248
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14249
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14250
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14251
    }/*function_mux*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14252
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14253
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14254
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14255
 *GT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14256
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14257
    case function_gt :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14258
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14259
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14260
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14261
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14262
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14263
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14264
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14265
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14266
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14267
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14268
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14269
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14270
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14271
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14272
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14273
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14274
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14275
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14276
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14277
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14278
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14279
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14280
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14281
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14282
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14283
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14284
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14285
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14286
                        s4o.print("__gt_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14287
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14288
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14289
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14290
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14291
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14292
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14293
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14294
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14295
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14296
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14297
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14298
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14299
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14300
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14301
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14302
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14303
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14304
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14305
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14306
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14307
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14308
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14309
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14310
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14311
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14312
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14313
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14314
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14315
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14316
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14317
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14318
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14319
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14320
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14321
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14322
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14323
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14324
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14325
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14326
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14327
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14328
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14329
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14330
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14331
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14332
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14333
    }/*function_gt*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14334
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14335
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14336
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14337
 *GE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14338
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14339
    case function_ge :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14340
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14341
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14342
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14343
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14344
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14345
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14346
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14347
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14348
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14349
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14350
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14351
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14352
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14353
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14354
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14355
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14356
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14357
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14358
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14359
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14360
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14361
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14362
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14363
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14364
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14365
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14366
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14367
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14368
                        s4o.print("__ge_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14369
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14370
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14371
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14372
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14373
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14374
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14375
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14376
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14377
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14378
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14379
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14380
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14381
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14382
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14383
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14384
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14385
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14386
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14387
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14388
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14389
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14390
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14391
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14392
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14393
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14394
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14395
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14396
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14397
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14398
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14399
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14400
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14401
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14402
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14403
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14404
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14405
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14406
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14407
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14408
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14409
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14410
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14411
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14412
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14413
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14414
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14415
    }/*function_ge*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14416
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14417
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14418
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14419
 *EQ
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14420
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14421
    case function_eq :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14422
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14423
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14424
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14425
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14426
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14427
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14428
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14429
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14430
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14431
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14432
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14433
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14434
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14435
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14436
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14437
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14438
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14439
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14440
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14441
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14442
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14443
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14444
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14445
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14446
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14447
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14448
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14449
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14450
                        s4o.print("__eq_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14451
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14452
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14453
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14454
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14455
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14456
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14457
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14458
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14459
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14460
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14461
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14462
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14463
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14464
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14465
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14466
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14467
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14468
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14469
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14470
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14471
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14472
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14473
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14474
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14475
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14476
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14477
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14478
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14479
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14480
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14481
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14482
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14483
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14484
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14485
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14486
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14487
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14488
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14489
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14490
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14491
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14492
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14493
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14494
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14495
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14496
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14497
    }/*function_eq*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14498
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14499
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14500
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14501
 *LT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14502
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14503
    case function_lt :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14504
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14505
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14506
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14507
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14508
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14509
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14510
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14511
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14512
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14513
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14514
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14515
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14516
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14517
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14518
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14519
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14520
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14521
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14522
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14523
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14524
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14525
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14526
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14527
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14528
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14529
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14530
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14531
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14532
                        s4o.print("__lt_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14533
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14534
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14535
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14536
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14537
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14538
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14539
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14540
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14541
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14542
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14543
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14544
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14545
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14546
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14547
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14548
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14549
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14550
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14551
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14552
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14553
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14554
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14555
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14556
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14557
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14558
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14559
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14560
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14561
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14562
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14563
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14564
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14565
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14566
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14567
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14568
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14569
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14570
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14571
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14572
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14573
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14574
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14575
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14576
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14577
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14578
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14579
    }/*function_lt*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14580
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14581
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14582
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14583
 *LE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14584
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14585
    case function_le :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14586
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14587
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14588
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14589
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14590
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14591
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14592
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14593
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14594
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14595
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14596
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14597
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14598
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14599
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14600
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14601
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14602
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14603
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14604
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14605
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14606
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14607
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14608
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14609
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14610
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14611
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14612
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14613
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14614
                        s4o.print("__le_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14615
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14616
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14617
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14618
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14619
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14620
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14621
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14622
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14623
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14624
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14625
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14626
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14627
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14628
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14629
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14630
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14631
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14632
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14633
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14634
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14635
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14636
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14637
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14638
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14639
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14640
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14641
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14642
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14643
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14644
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14645
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14646
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14647
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14648
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14649
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14650
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14651
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14652
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14653
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14654
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14655
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14656
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14657
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14658
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14659
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14660
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14661
    }/*function_le*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14662
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14663
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14664
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14665
 *NE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14666
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14667
    case function_ne :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14668
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14669
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14670
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14671
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14672
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14673
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14674
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14675
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14676
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14677
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14678
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14679
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14680
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14681
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14682
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14683
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14684
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14685
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14686
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14687
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14688
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14689
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14690
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14691
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14692
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14693
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14694
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14695
                        symbol_c * return_type_symbol = &search_constant_type_c::bool_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14696
                        s4o.print("__ne_");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14697
                        return_type_symbol->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14698
                        s4o.print("(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14699
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14700
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14701
                        IN1_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14702
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14703
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14704
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14705
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14706
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14707
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14708
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14709
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14710
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14711
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14712
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14713
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14714
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14715
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14716
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14717
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14718
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14719
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14720
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14721
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14722
                                /*Function specific CODE */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14723
                                s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14724
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14725
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14726
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14727
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14728
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14729
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14730
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14731
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14732
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14733
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14734
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14735
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14736
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14737
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14738
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14739
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14740
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14741
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14742
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14743
    }/*function_ne*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14744
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14745
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14746
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14747
 *LEN
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14748
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14749
    case function_len :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14750
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14751
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14752
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14753
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14754
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14755
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14756
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14757
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14758
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14759
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14760
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14761
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14762
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14763
                symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14764
                s4o.print("__len(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14765
                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14766
                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14767
                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14768
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14769
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14770
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14771
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14772
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14773
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14774
    }/*function_len*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14775
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14776
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14777
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14778
 *LEFT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14779
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14780
    case function_left :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14781
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14782
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14783
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14784
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14785
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14786
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14787
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14788
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14789
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14790
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14791
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14792
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14793
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14794
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14795
                    identifier_c param_name("L");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14796
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14797
                    symbol_c *L_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14798
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14799
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14800
                    if (L_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14801
                      L_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14802
                    symbol_c *L_type_symbol = search_expression_type->get_type(L_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14803
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(L_type_symbol, last_type_symbol) ? search_expression_type->common_type(L_type_symbol, last_type_symbol) : L_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14804
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 14805
                    if(search_expression_type->is_integer_type(L_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14806
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14807
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14808
                        symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14809
                        s4o.print("__left(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14810
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14811
                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14812
                        L_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14813
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14814
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14815
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14816
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14817
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14818
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14819
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14820
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14821
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14822
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14823
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14824
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14825
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14826
    }/*function_left*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14827
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14828
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14829
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14830
 *RIGHT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14831
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14832
    case function_right :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14833
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14834
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14835
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14836
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14837
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14838
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14839
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14840
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14841
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14842
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14843
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14844
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14845
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14846
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14847
                    identifier_c param_name("L");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14848
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14849
                    symbol_c *L_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14850
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14851
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14852
                    if (L_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14853
                      L_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14854
                    symbol_c *L_type_symbol = search_expression_type->get_type(L_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14855
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(L_type_symbol, last_type_symbol) ? search_expression_type->common_type(L_type_symbol, last_type_symbol) : L_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14856
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 14857
                    if(search_expression_type->is_integer_type(L_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14858
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14859
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14860
                        symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14861
                        s4o.print("__right(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14862
                        IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14863
                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14864
                        L_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14865
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14866
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14867
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14868
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14869
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14870
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14871
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14872
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14873
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14874
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14875
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14876
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14877
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14878
    }/*function_right*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14879
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14880
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14881
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14882
 *MID
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14883
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14884
    case function_mid :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14885
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14886
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14887
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14888
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14889
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14890
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14891
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14892
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14893
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14894
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14895
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14896
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14897
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14898
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14899
                    identifier_c param_name("L");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14900
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14901
                    symbol_c *L_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14902
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14903
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14904
                    if (L_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14905
                      L_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14906
                    symbol_c *L_type_symbol = search_expression_type->get_type(L_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14907
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(L_type_symbol, last_type_symbol) ? search_expression_type->common_type(L_type_symbol, last_type_symbol) : L_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14908
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 14909
                    if(search_expression_type->is_integer_type(L_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14910
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14911
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14912
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14913
                            identifier_c param_name("P");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14914
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14915
                            symbol_c *P_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14916
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14917
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14918
                            if (P_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14919
                              P_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14920
                            symbol_c *P_type_symbol = search_expression_type->get_type(P_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14921
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(P_type_symbol, last_type_symbol) ? search_expression_type->common_type(P_type_symbol, last_type_symbol) : P_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14922
                            
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 14923
                            if(search_expression_type->is_integer_type(P_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14924
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14925
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14926
                                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14927
                                s4o.print("__mid(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14928
                                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14929
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14930
                                L_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14931
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14932
                                P_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14933
                                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14934
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14935
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14936
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14937
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14938
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14939
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14940
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14941
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14942
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14943
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14944
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14945
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14946
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14947
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14948
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14949
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14950
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14951
    }/*function_mid*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14952
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14953
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14954
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14955
 *CONCAT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14956
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14957
    case function_concat :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14958
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14959
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14960
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14961
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14962
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14963
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14964
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14965
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14966
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14967
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14968
            if (typeid(*last_type_symbol) == typeid(date_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14969
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14970
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14971
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14972
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14973
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14974
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14975
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14976
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14977
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14978
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14979
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14980
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14981
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14982
                    if (typeid(*last_type_symbol) == typeid(tod_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14983
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14984
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14985
                        symbol_c * return_type_symbol = &search_constant_type_c::dt_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14986
                        s4o.print("__time_add(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14987
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 14988
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14989
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14990
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14991
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14992
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14993
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14994
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14995
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14996
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14997
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14998
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 14999
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15000
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15001
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15002
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15003
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15004
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15005
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15006
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15007
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15008
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15009
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15010
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15011
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15012
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15013
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15014
                    if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15015
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15016
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15017
                        symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15018
                        s4o.print("__concat(");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15019
                        s4o.print_integer(nb_param);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15020
                        s4o.print(",");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15021
                        IN1_param_value->accept(*this);
41
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents: 40
diff changeset
 15022
                        s4o.print(",");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15023
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15024
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15025
                        int base_num = 3;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15026
                        symbol_c *param_value = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15027
                        do{
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15028
                            char my_name[10];
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15029
                            sprintf(my_name, "IN%d", base_num++);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15030
                            identifier_c param_name(my_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15031
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15032
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15033
                            param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15034
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15035
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15036
                            if (param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15037
                              param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15038
                            if (param_value != NULL){
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15039
                                symbol_c *current_type_symbol = search_expression_type->get_type(param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15040
                                last_type_symbol = last_type_symbol && search_expression_type->is_same_type(current_type_symbol, last_type_symbol) ? search_expression_type->common_type(current_type_symbol, last_type_symbol) : current_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15041
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15042
                                /*Function specific CODE */
41
8998c8b24b60 First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents: 40
diff changeset
 15043
                                s4o.print(",");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15044
                                param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15045
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15046
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15047
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15048
                        }while(param_value != NULL);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15049
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15050
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15051
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15052
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15053
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15054
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15055
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15056
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15057
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15058
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15059
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15060
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15061
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15062
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15063
    }/*function_concat*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15064
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15065
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15066
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15067
 *INSERT
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15068
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15069
    case function_insert :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15070
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15071
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15072
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15073
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15074
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15075
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15076
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15077
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15078
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15079
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15080
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15081
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15082
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15083
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15084
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15085
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15086
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15087
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15088
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15089
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15090
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15091
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15092
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15093
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15094
                    if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15095
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15096
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15097
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15098
                            identifier_c param_name("P");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15099
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15100
                            symbol_c *P_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15101
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15102
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15103
                            if (P_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15104
                              P_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15105
                            symbol_c *P_type_symbol = search_expression_type->get_type(P_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15106
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(P_type_symbol, last_type_symbol) ? search_expression_type->common_type(P_type_symbol, last_type_symbol) : P_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15107
                            
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 15108
                            if(search_expression_type->is_integer_type(P_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15109
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15110
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15111
                                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15112
                                s4o.print("__insert(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15113
                                IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15114
                                s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15115
                                IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15116
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15117
                                P_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15118
                                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15119
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15120
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15121
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15122
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15123
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15124
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15125
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15126
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15127
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15128
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15129
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15130
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15131
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15132
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15133
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15134
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15135
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15136
    }/*function_insert*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15137
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15138
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15139
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15140
 *DELETE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15141
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15142
    case function_delete :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15143
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15144
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15145
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15146
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15147
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15148
            symbol_c *IN_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15149
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15150
            symbol_c *IN_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15151
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15152
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15153
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15154
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15155
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15156
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15157
                    identifier_c param_name("L");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15158
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15159
                    symbol_c *L_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15160
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15161
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15162
                    if (L_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15163
                      L_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15164
                    symbol_c *L_type_symbol = search_expression_type->get_type(L_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15165
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(L_type_symbol, last_type_symbol) ? search_expression_type->common_type(L_type_symbol, last_type_symbol) : L_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15166
                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 15167
                    if(search_expression_type->is_integer_type(L_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15168
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15169
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15170
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15171
                            identifier_c param_name("P");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15172
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15173
                            symbol_c *P_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15174
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15175
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15176
                            if (P_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15177
                              P_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15178
                            symbol_c *P_type_symbol = search_expression_type->get_type(P_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15179
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(P_type_symbol, last_type_symbol) ? search_expression_type->common_type(P_type_symbol, last_type_symbol) : P_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15180
                            
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 15181
                            if(search_expression_type->is_integer_type(P_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15182
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15183
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15184
                                symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15185
                                s4o.print("__delete(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15186
                                IN_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15187
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15188
                                L_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15189
                                s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15190
                                P_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15191
                                s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15192
                                return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15193
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15194
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15195
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15196
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15197
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15198
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15199
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15200
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15201
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15202
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15203
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15204
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15205
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15206
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15207
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15208
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15209
    }/*function_delete*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15210
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15211
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15212
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15213
 *REPLACE
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15214
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15215
    case function_replace :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15216
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15217
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15218
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15219
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15220
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15221
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15222
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15223
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15224
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15225
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15226
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15227
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15228
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15229
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15230
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15231
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15232
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15233
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15234
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15235
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15236
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15237
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15238
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15239
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15240
                    if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15241
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15242
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15243
                        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15244
                            identifier_c param_name("L");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15245
                            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15246
                            symbol_c *L_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15247
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15248
                            /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15249
                            if (L_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15250
                              L_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15251
                            symbol_c *L_type_symbol = search_expression_type->get_type(L_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15252
                            last_type_symbol = last_type_symbol && search_expression_type->is_same_type(L_type_symbol, last_type_symbol) ? search_expression_type->common_type(L_type_symbol, last_type_symbol) : L_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15253
                            
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 15254
                            if(search_expression_type->is_integer_type(L_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15255
                            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15256
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15257
                                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15258
                                    identifier_c param_name("P");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15259
                                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15260
                                    symbol_c *P_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15261
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15262
                                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15263
                                    if (P_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15264
                                      P_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15265
                                    symbol_c *P_type_symbol = search_expression_type->get_type(P_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15266
                                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(P_type_symbol, last_type_symbol) ? search_expression_type->common_type(P_type_symbol, last_type_symbol) : P_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15267
                                    
40
873a5b60a7ea Fixed -I library include path behavior + removed old lib implementation + added generated lib func names to stage 1_2 + added Makefile.Linux
etisserant
parents: 38
diff changeset
 15268
                                    if(search_expression_type->is_integer_type(P_type_symbol))
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15269
                                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15270
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15271
                                        symbol_c * return_type_symbol = &search_constant_type_c::string_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15272
                                        s4o.print("__replace(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15273
                                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15274
                                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15275
                                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15276
                                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15277
                                        L_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15278
                                        s4o.print(", ");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15279
                                        P_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15280
                                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15281
                                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15282
                                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15283
                                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15284
                                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15285
                                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15286
                                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15287
                                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15288
                            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15289
                            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15290
                            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15291
                        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15292
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15293
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15294
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15295
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15296
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15297
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15298
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15299
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15300
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15301
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15302
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15303
    }/*function_replace*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15304
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15305
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15306
/****
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15307
 *FIND
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15308
 */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15309
    case function_find :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15310
    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15311
        symbol_c *last_type_symbol = NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15312
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15313
        {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15314
            /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15315
            symbol_c *IN1_param_value = &this->default_variable_name;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15316
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15317
            symbol_c *IN1_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15318
            last_type_symbol = param_data_type;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15319
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15320
            if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15321
            {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15322
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15323
                {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15324
                    identifier_c param_name("IN2");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15325
                    /* Get the value from a foo(<param_name> = <param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15326
                    symbol_c *IN2_param_value = function_call_param_iterator.search(&param_name);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15327
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15328
                    /* Get the value from a foo(<param_value>) style call */
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15329
                    if (IN2_param_value == NULL)
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15330
                      IN2_param_value = function_call_param_iterator.next();
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15331
                    symbol_c *IN2_type_symbol = search_expression_type->get_type(IN2_param_value);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15332
                    last_type_symbol = last_type_symbol && search_expression_type->is_same_type(IN2_type_symbol, last_type_symbol) ? search_expression_type->common_type(IN2_type_symbol, last_type_symbol) : IN2_type_symbol ;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15333
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15334
                    if (typeid(*last_type_symbol) == typeid(string_type_name_c))
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15335
                    {
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15336
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15337
                        symbol_c * return_type_symbol = &search_constant_type_c::int_type_name;
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15338
                        s4o.print("__find(");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15339
                        IN1_param_value->accept(*this);
38
6cce7d14647e Stage4 changes according to new STD lib implementation
etisserant
parents: 35
diff changeset
 15340
                        s4o.print(", ");
35
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15341
                        IN2_param_value->accept(*this);
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15342
                        s4o.print(")");
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15343
                        return NULL;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15344
                        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15345
                    }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15346
                    
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15347
                    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15348
                }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15349
                
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15350
            }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15351
            
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15352
            ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15353
        }
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15354
        
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15355
    }/*function_find*/
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15356
    break;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15357
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15358
    case function_none :
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15359
    ERROR;
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15360
}
9f3d6c089533 Generated code for il finished
lbessard
parents:
diff changeset
 15361
return NULL;