DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/make cond.c cond.h globals.h parse.c parse.h


From: Max Okumoto <okumoto@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 17:12:55 -0800 (PST)

okumoto     2005/03/31 17:12:55 PST

DragonFly src repository

  Modified files:
    usr.bin/make         cond.c cond.h globals.h parse.c parse.h 
  Log:
  Date: 2005/03/30 15:18:58
  Author: harti
  
  Make the structure for handling the input stack local to the parse
  module. The only module accessing it (the current line number) was the
  condition module, so pass the current line number as a function argument.
  Centralize the pushing of new input sources into one function
  ParsePushInput() and rename the function handling the popping from ParseEOF()
  to ParsePopInput(). Make the entire thing a little bit clearer, by holding
  the current input source in the top element of the stack instead of
  using extra variables for this. Use a type-safe intrusive list for the
  input stack.
  
  Revision  Changes    Path
  1.34      +1 -3      src/usr.bin/make/cond.c
  1.3       +1 -1      src/usr.bin/make/cond.h
  1.4       +0 -3      src/usr.bin/make/globals.h
  1.64      +124 -143  src/usr.bin/make/parse.c
  1.5       +1 -15     src/usr.bin/make/parse.h


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/cond.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/cond.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/globals.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/parse.c.diff?r1=1.63&r2=1.64&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/parse.h.diff?r1=1.4&r2=1.5&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]