Untitled
unknown
plain_text
a year ago
786 B
5
Indexable
/* * The scanner definition for COOL. */ /* * Stuff enclosed in %{ %} in the first section is copied verbatim to the * output, so headers and global definitions are placed here to be visible * to the code in the file. Don't remove anything that was here initially */ %{ #include <cool-parse.h> #include <stringtab.h> #include <utilities.h> /* The compiler assumes these identifiers. */ #define yylval cool_yylval #define yylex cool_yylex /* Max size of string constants */ #define MAX_STR_CONST 1025 #define YY_NO_UNPUT /* keep g++ happy */ /* The two statements below are here just so this program will compile. You may need to change or remove them on your final code. */ #define yywrap() 1 #define YY_SKIP_YYWRAP extern FILE *fin; /* we read from this file */
Editor is loading...
Leave a Comment