stage1_2/iec.flex
changeset 175 dadda1b5401e
parent 152 efc510145ab2
child 177 697562a5da7c
equal deleted inserted replaced
174:f648065fb66e 175:dadda1b5401e
  1406 
  1406 
  1407 
  1407 
  1408 	/********************************************/
  1408 	/********************************************/
  1409 	/* B.1.4.1   Directly Represented Variables */
  1409 	/* B.1.4.1   Directly Represented Variables */
  1410 	/********************************************/
  1410 	/********************************************/
  1411 {direct_variable}	{yylval.ID=strdup(yytext); return direct_variable_token;}
  1411 {direct_variable}   {yylval.ID=strdup(yytext); return get_direct_variable_token(yytext);}
  1412 
  1412 
  1413 
  1413 
  1414 	/******************************************/
  1414 	/******************************************/
  1415 	/* B 1.4.3 - Declaration & Initialisation */
  1415 	/* B 1.4.3 - Declaration & Initialisation */
  1416 	/******************************************/
  1416 	/******************************************/
  1561 const char *current_filename;
  1561 const char *current_filename;
  1562 
  1562 
  1563 
  1563 
  1564 
  1564 
  1565 int get_identifier_token(const char *identifier_str) {return 0;}
  1565 int get_identifier_token(const char *identifier_str) {return 0;}
       
  1566 int get_direct_variable_token(const char *direct_variable_str) {return 0;}
  1566 
  1567 
  1567 
  1568 
  1568 
  1569 
  1569 int main(int argc, char **argv) {
  1570 int main(int argc, char **argv) {
  1570 
  1571