summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-10 14:43:22 +0000
committerharti <harti@FreeBSD.org>2005-02-10 14:43:22 +0000
commit374fae4a3809674d3ec494d01590cb76db7e8e29 (patch)
tree6014d5a52a0b6303a51914ca51c1c4c44cf0254d /usr.bin/make
parent41f26b3bb5081653d1c2748b72565aaa839928ef (diff)
downloadFreeBSD-src-374fae4a3809674d3ec494d01590cb76db7e8e29.zip
FreeBSD-src-374fae4a3809674d3ec494d01590cb76db7e8e29.tar.gz
Describe a pre-condition of Var_Parse().
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/var.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 112e4be..40df884 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -858,6 +858,9 @@ VarREError(int err, regex_t *pat, const char *str)
* Side Effects:
* None.
*
+ * Assumption:
+ * It is assumed that Var_Parse() is called with str[0] == '$'.
+ *
*-----------------------------------------------------------------------
*/
char *
OpenPOWER on IntegriCloud