commenting out code no longer required. To be deleted later.
--- a/stage1_2/iec.flex Sun Nov 04 18:25:30 2007 +0100
+++ b/stage1_2/iec.flex Thu Nov 08 15:19:51 2007 +0100
@@ -973,28 +973,27 @@
* We solve this by NOT testing for function names here, and
* handling this function and keyword clash in bison!
*/
+ /*
{identifier} {int token = get_identifier_token(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)) {
- /*
- if (token != identifier_token)
- */
- /* NOTE: if we replace the above uncommented conditions with
+ // if (token != identifier_token)
+ // * NOTE: if we replace the above uncommented conditions with
* the simple test of (token != identifier_token), then
* 'MOD' et al must be removed from the
* library_symbol_table as a default function name!
- */
+ * //
yylval.ID=strdup(yytext);
// fprintf(stderr, "returning token %d\n", token);
return token;
}
- /* otherwise, leave it for the other lexical parser rules... */
+ // otherwise, leave it for the other lexical parser rules...
// fprintf(stderr, "rejecting\n");
REJECT;
}
-
+ */
/******************************************************/
/******************************************************/