cvs commit: src/usr.bin/make var.c
Hartmut Brandt
harti at FreeBSD.org
Thu Feb 24 16:05:46 GMT 2005
harti 2005-02-24 16:05:46 UTC
FreeBSD src repository
Modified files:
usr.bin/make var.c
Log:
Var_Parse: Separate different error states by introducing an else block
after a return. Move assignments to {freePtr, dynamic, start} closer to the
return statements to clarify which variables are actually used for
communication between the losely coupled blocks of the code. Clear up
an if-expression to make common structures of the conditions clearer.
Use strchr instead of switch statements to check for a character beeing
a member of a set.
Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2
Submitted by: Max Okumoto <okumoto at ucsd.edu>
Revision Changes Path
1.92 +54 -64 src/usr.bin/make/var.c
More information about the cvs-src
mailing list