summaryrefslogtreecommitdiff
path: root/dmake/dag.c
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-06-29 10:24:25 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-06-29 10:24:25 +0000
commitbb71d425b5431408e45f8155dbf7f9b4cb6861f3 (patch)
tree3831ea0187e75f9267138a5691129cb77386b15b /dmake/dag.c
parent9a0792107e15060ba09f0ab853079dbec4733589 (diff)
INTEGRATION: CWS dmake45 (1.5.2); FILE MERGED
2006/05/03 21:47:14 vq 1.5.2.1: #i64869# Fix various parsing problems of target definitions and add code comments.
Diffstat (limited to 'dmake/dag.c')
-rw-r--r--dmake/dag.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/dmake/dag.c b/dmake/dag.c
index eb0fe54868cb..a80da53c3960 100644
--- a/dmake/dag.c
+++ b/dmake/dag.c
@@ -1,6 +1,6 @@
/* $RCSfile: dag.c,v $
--- $Revision: 1.5 $
--- last change: $Author: hr $ $Date: 2006-04-20 11:58:53 $
+-- $Revision: 1.6 $
+-- last change: $Author: ihi $ $Date: 2006-06-29 11:22:42 $
--
-- SYNOPSIS
-- Routines to construct the internal dag.
@@ -522,12 +522,12 @@ int fail;
PUBLIC STRINGPTR
Def_recipe( rcp, sp, white_too, no_check )/*
=============================================
- Take the recipe and add it to the list of recipes
- pointed to by sp. sp points to the last element.
- return a pointer to the new recipe. If white_too == TRUE add the
- recipe even if it contains only white space.
- If no_check is true then don't look for -@ at the start of the
- recipe line. */
+ Take the recipe (rcp) and add it to the list of recipes pointed to by
+ sp (sp points to the last element). If white_too == TRUE add the recipe
+ even if it contains only white space or an empty string.
+ Return a pointer to the new recipe (or sp if it was discarded).
+ If no_check is true then don't look for -@ at the start of the recipe
+ line. */
char *rcp;
STRINGPTR sp;
int white_too;