removing debug messages left by mistake in previous commit.
authormario
Sat, 03 Nov 2007 15:37:07 +0100
changeset 81 de518eb7bc74
parent 80 d79c950fb9c3
child 82 2b6e9eeeff2c
removing debug messages left by mistake in previous commit.
stage1_2/iec.flex
--- a/stage1_2/iec.flex	Sat Nov 03 15:34:22 2007 +0100
+++ b/stage1_2/iec.flex	Sat Nov 03 15:37:07 2007 +0100
@@ -974,7 +974,7 @@
 	 *       handling this function and keyword clash in bison!
 	 */
 {identifier} 	{int token = get_identifier_token(yytext);
-		 fprintf(stderr, "flex: analysing identifier '%s'...", yytext); 
+		 // fprintf(stderr, "flex: analysing identifier '%s'...", yytext); 
 		 if ((token == prev_declared_variable_name_token) ||
 //		     (token == prev_declared_derived_function_name_token) || // DO NOT add this condition!
 		     (token == prev_declared_fb_name_token)) {
@@ -987,11 +987,11 @@
                   *       library_symbol_table as a default function name!
 		  */
 		   yylval.ID=strdup(yytext);
-		   fprintf(stderr, "returning token %d\n", token); 
+		   // fprintf(stderr, "returning token %d\n", token); 
 		   return token;
 		 }
 		 /* otherwise, leave it for the other lexical parser rules... */
-		 fprintf(stderr, "rejecting\n"); 
+		 // fprintf(stderr, "rejecting\n"); 
 		 REJECT;
 		}
 
@@ -1359,7 +1359,7 @@
 DO		return DO;
 END_FOR		return END_FOR;
 
-WHILE		{fprintf(stderr, "flex: returning token WHILE\n"); return WHILE;}
+WHILE		return WHILE;
 DO		return DO;
 END_WHILE	return END_WHILE;