stage1_2/iec_flex.ll
changeset 1013 d41dc551a326
parent 1010 242907849850
child 1014 a61f8f58f612
equal deleted inserted replaced
1012:1f2af384fb1f 1013:d41dc551a326
   148  * apropriately whenever it comes across an (*#include <filename> *) directive...
   148  * apropriately whenever it comes across an (*#include <filename> *) directive...
   149  */
   149  */
   150 const char *current_filename = NULL;
   150 const char *current_filename = NULL;
   151 
   151 
   152 
   152 
   153 
       
   154 /* We will not be using unput() in our flex code... */
       
   155 /* NOTE: it seems that this #define is no longer needed, It has been 
       
   156  * replaced by %option nounput.
       
   157  * Should we simply delete it?
       
   158  * For now leave it in, in case someone is using an old version of flex.
       
   159  * In any case, the most harm that can result in a warning message
       
   160  * when compiling iec.flex.c:
       
   161  * warning: ‘void yyunput(int, char*)’ defined but not used
       
   162  */
       
   163 #define YY_NO_UNPUT
       
   164 
   153 
   165 /* Variable defined by the bison parser.
   154 /* Variable defined by the bison parser.
   166  * It must be initialised with the location
   155  * It must be initialised with the location
   167  * of the token being parsed.
   156  * of the token being parsed.
   168  * This is only needed if we want to keep
   157  * This is only needed if we want to keep