This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

lex.c oddity


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]