stage1_2/iec_flex.ll
changeset 881 e05d69c1ccb3
parent 880 599e88d12f9a
parent 870 9c6c588fd708
child 909 8b2a31dea131
equal deleted inserted replaced
880:599e88d12f9a 881:e05d69c1ccb3
   122 #include <string.h>
   122 #include <string.h>
   123 
   123 
   124 /* Required only for the declaration of abstract syntax classes
   124 /* Required only for the declaration of abstract syntax classes
   125  * (class symbol_c; class token_c; class list_c;)
   125  * (class symbol_c; class token_c; class list_c;)
   126  * These will not be used in flex, but the token type union defined
   126  * These will not be used in flex, but the token type union defined
   127  * in iec_bison.h contains pointers to these classes, so we must include
   127  * in iec_bison.hh contains pointers to these classes, so we must include
   128  * it here.
   128  * it here.
   129  */
   129  */
   130 #include "../absyntax/absyntax.hh"
   130 #include "../absyntax/absyntax.hh"
   131 
   131 
   132 
   132 
   133 /* iec_bison.h is generated by bison.
   133 /* iec_bison.hh is generated by bison.
   134  * Contains the definition of the token constants, and the
   134  * Contains the definition of the token constants, and the
   135  * token value type YYSTYPE (in our case, a 'const char *')
   135  * token value type YYSTYPE (in our case, a 'const char *')
   136  */
   136  */
   137 #include "iec_bison.h"
   137 #include "iec_bison.hh"
   138 #include "stage1_2_priv.hh"
   138 #include "stage1_2_priv.hh"
   139 
   139 
   140 
   140 
   141 /* Variable defined by the bison parser,
   141 /* Variable defined by the bison parser,
   142  * where the value of the tokens will be stored
   142  * where the value of the tokens will be stored