#include #include #include using namespace std; extern int yylex(); extern int yyparse(); extern void yyerror( const char * ); enum Type { typeInt, typeString }; typedef struct { string place; string begin; string after; string code; Type type; } Attributes; #define YYSTYPE Attributes