lex.c oddity

Jeff Sturm jsturm@one-point.com
Tue Nov 18 05:33:00 GMT 2003


While debugging the parser, I stumbled across this code in java_init_lex:

  int java_lang_imported = 0;
  ...

  if (!java_lang_imported)
    {
      ...
      java_lang_imported = 1;

Clearly the conditional is always taken.  Was this meant to be declared
static?  (I tried; it doesn't work.)

Jeff



More information about the Java mailing list