dpatel      02/12/04 09:34:07

  Modified:    live/gcc3/gcc cpplex.c
  Log:
  Fix FFE indexing error introduced during recent merge(s).
  Reviewed by: zlaski
  
  Revision  Changes    Path
  1.47      +1 -5      src/live/gcc3/gcc/cpplex.c
  
  Index: cpplex.c
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/cpplex.c,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- cpplex.c  2002/10/24 23:42:51     1.46
  +++ cpplex.c  2002/12/04 17:34:06     1.47
  @@ -900,8 +900,6 @@
   {
     cpp_buffer *buffer = pfile->buffer;
     bool more = false;
  -  /* APPLE LOCAL indexing dpatel */
  -  bool index = true;
     char *saved_name = pfile->map->to_file;
   
     buffer->saved_flags = BOL;
  @@ -932,8 +930,6 @@
                /* APPLE LOCAL end -Wnewline-eof 2001-08-23 sts */
                cpp_error (pfile, DL_PEDWARN, "no newline at end of file");
              handle_newline (pfile);
  -              /* APPLE LOCAL indexing dpatel */
  -              index = false;
            }
   
          /* Similarly, finish an in-progress directive with CPP_EOF
  @@ -947,7 +943,7 @@
       }
   
     /* APPLE LOCAL begin indexing dpatel */
  -  if (index)
  +  if (more || !buffer->prev)
       {
         if (flag_gen_index_original
             && strcmp (pfile->map->to_file, "<built-in>")
  
  
  


Reply via email to