diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-06-13 23:26:40 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-06-13 23:26:40 +0000 |
commit | d0cdcc5092c3e224028420ccbe2f5b844e6174be (patch) | |
tree | 086bbf313252223a8c6462d124169309aa0359d2 | |
parent | 5bb89e7e060c4852afa79c8d0f56efba865646ca (diff) |
synch comments with actual code.
Okay miod@.
-rw-r--r-- | usr.bin/make/for.c | 4 | ||||
-rw-r--r-- | usr.bin/make/for.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index fa97c94c7e4..889bc3960ec 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: for.c,v 1.27 2002/06/11 21:12:11 espie Exp $ */ +/* $OpenBSD: for.c,v 1.28 2002/06/13 23:26:39 espie Exp $ */ /* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */ /* @@ -149,7 +149,7 @@ For_Eval(line) while (*ptr && isspace(*ptr)) ptr++; - /* We found a for loop, and now we are going to parse it. */ + /* Parse loop. */ arg = emalloc(sizeof(*arg)); arg->nvars = 0; diff --git a/usr.bin/make/for.h b/usr.bin/make/for.h index 32ae7421142..3838354a43d 100644 --- a/usr.bin/make/for.h +++ b/usr.bin/make/for.h @@ -1,7 +1,7 @@ #ifndef FOR_H #define FOR_H /* $OpenPackages$ */ -/* $OpenBSD: for.h,v 1.1 2001/05/23 12:34:43 espie Exp $ */ +/* $OpenBSD: for.h,v 1.2 2002/06/13 23:26:39 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -38,9 +38,9 @@ typedef struct For_ For; /* handle = For_Eval(line); * Evaluate for loop in line, and returns an opaque handle. * Loop lines are parsed as - * for <variable1> ... in <values> - * assuming the dot has been parsed by previous modules. - * Returns NULL if this is not a for loop after all. */ + * <variable1> ... in <values> + * assuming .for has been parsed by previous modules. + * Returns NULL if this does not parse as a for loop after all. */ extern For *For_Eval(const char *); /* finished = For_Accumulate(handle, line); |