stage3/constant_folding.hh
changeset 781 577547327f67
parent 780 9fbdf8a7430e
child 783 3bd2704d9ba9
equal deleted inserted replaced
780:9fbdf8a7430e 781:577547327f67
    28  * Based on the
    28  * Based on the
    29  * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10)
    29  * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10)
    30  *
    30  *
    31  */
    31  */
    32 
    32 
    33 /* Determine the data type of an constant expression.
    33 /* Determine the value of an constant expression.
    34  * A reference to the relevant type definition is returned.
    34  * A reference to the relevant type definition is returned.
    35  *
    35  *
    36  * For example:
    36  * For example:
    37  *       2 + 3       -> returns reference 
    37  *       2 + 3       -> returns reference 
    38  *       22.2 - 5    -> returns reference
    38  *       22.2 - 5    -> returns reference