stage3/stage3.hh
changeset 205 96d8b6e006f0
parent 204 8ffa211b7f9a
child 257 90782e241346
equal deleted inserted replaced
200:fde2d08ebaee 205:96d8b6e006f0
       
     1 /*
       
     2  * (c) 2009 Catarina da Costa Boucinha
       
     3  *
       
     4  * Offered to the public under the terms of the GNU General Public License
       
     5  * as published by the Free Software Foundation; either version 2 of the
       
     6  * License, or (at your option) any later version.
       
     7  *
       
     8  * This program is distributed in the hope that it will be useful, but
       
     9  * WITHOUT ANY WARRANTY; without even the implied warranty of
       
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
       
    11  * Public License for more details.
       
    12  *
       
    13  * This code is made available on the understanding that it will not be
       
    14  * used in safety-critical situations without a full and competent review.
       
    15  */
       
    16 
       
    17 /*
       
    18  * An IEC 61131-3 IL and ST compiler.
       
    19  *
       
    20  * Based on the
       
    21  * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2009-04-24)
       
    22  *
       
    23  */
       
    24 
       
    25 
       
    26 // #include <stdio.h>  /* required for NULL */
       
    27 #include <string>
       
    28 #include <iostream>
       
    29 #include <sstream>
       
    30 #include <typeinfo>
       
    31 #include <list>
       
    32 #include <strings.h>
       
    33 
       
    34 #include "../util/symtable.hh"
       
    35 #include "../util/dsymtable.hh"
       
    36 #include "../absyntax/visitor.hh"
       
    37 
       
    38 #include "visit_expression_type.hh"
       
    39 
       
    40 
       
    41 int stage3(symbol_c *tree_root);
       
    42 int type_safety(symbol_c *tree_root);