[BACK]Return to lowparse.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/lowparse.c between version 1.19 and 1.20

version 1.19, 2007/05/17 03:37:31 version 1.20, 2007/09/17 09:28:36
Line 65 
Line 65 
   
 static IFile    *current;       /* IFile being parsed. */  static IFile    *current;       /* IFile being parsed. */
   
 static LIST     input_stack;    /* Stack of IFiles waiting to be parsed  static LIST     input_stack;    /* Stack of IFiles waiting to be parsed
                                  * (includes and loop reparses) */                                   * (includes and loop reparses) */
   
 /* IFile ctors.  /* IFile ctors.
  *   *
  * obj = new_ifile(filename, filehandle);   * obj = new_ifile(filename, filehandle);
  *      Create input object from filename, filehandle. */   *      Create input object from filename, filehandle. */
Line 81 
Line 81 
 static void free_ifile(IFile *);  static void free_ifile(IFile *);
   
   
 /* Handling basic character reading.  /* Handling basic character reading.
  * c = ParseReadc();   * c = ParseReadc();
  *      New character c from current input stream, or EOF at end of stream. */   *      New character c from current input stream, or EOF at end of stream. */
 #define ParseReadc()    current->ptr < current->end ? *current->ptr++ : newline()  #define ParseReadc()    current->ptr < current->end ? *current->ptr++ : newline()
Line 385 
Line 385 
   
 /* Parse_ReadNormalLine removes beginning and trailing blanks (but keeps  /* Parse_ReadNormalLine removes beginning and trailing blanks (but keeps
  * the first tab), handles escaped newlines, and skips over uninteresting   * the first tab), handles escaped newlines, and skips over uninteresting
  * lines.   * lines.
  *   *
  * The line number is incremented, which implies that continuation   * The line number is incremented, which implies that continuation
  * lines are numbered with the last line number (we could do better, at a   * lines are numbered with the last line number (we could do better, at a

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20