# HG changeset patch # User mario # Date 1194100627 -3600 # Node ID de518eb7bc7482a58f23192a19f320e4d49b79b0 # Parent d79c950fb9c35e225e2954cda0443b6034f3ef7c removing debug messages left by mistake in previous commit. diff -r d79c950fb9c3 -r de518eb7bc74 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;