summaryrefslogtreecommitdiff
path: root/dmake/struct.h
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-06-29 10:24:50 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-06-29 10:24:50 +0000
commit89a4c8ce53dfe340658f9c00f1c12b9cab2e80b1 (patch)
tree6277965bdefbf67a27e60b14b85c2a3f48eb3675 /dmake/struct.h
parent1f26336d2d833d4643c7225448403ec2d4d6cdac (diff)
INTEGRATION: CWS dmake45 (1.1.1.1.146); FILE MERGED
2006/05/10 17:46:56 vq 1.1.1.1.146.2: #i48087# Correct parsing of target definitions with multiple % targets and prerequisites. Also add some comments. 2006/05/05 21:33:06 vq 1.1.1.1.146.1: #i65122# Fix problem with "non-documented" handling of multiple %-targets plus several improved comments and a man page correction.
Diffstat (limited to 'dmake/struct.h')
-rw-r--r--dmake/struct.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/dmake/struct.h b/dmake/struct.h
index 01ac57f661ed..3c1c350a8a06 100644
--- a/dmake/struct.h
+++ b/dmake/struct.h
@@ -1,4 +1,4 @@
-/* RCS $Id: struct.h,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $
+/* RCS $Id: struct.h,v 1.2 2006-06-29 11:24:50 ihi Exp $
--
-- SYNOPSIS
-- Structure definitions
@@ -99,7 +99,8 @@ typedef struct flst {
} FILELIST, *FILELISTPTR;
-/* The next struct is used to link together prerequisite lists */
+/* The next struct is used to link together prerequisite lists. It
+ * is also used to link multiple targets together. */
typedef struct lcell {
struct tcell *cl_prq; /* link to a prerequisite */
struct lcell *cl_next; /* next cell on dependency list */
@@ -117,8 +118,12 @@ typedef struct tcell {
struct hcell *ce_name; /* name of this cell */
struct hcell *ce_pushed; /* local pushed macro definitions */
- struct lcell ce_all; /* link for grouping UPDATEALL cells*/
- struct tcell *ce_set; /* set rep. valid if ce_all != NULL */
+ /* Def_cell sets ce_all.cl_prq to point back to itself. .UPDATEALL
+ * uses ce_all.cl_next to link the cells together. */
+ struct lcell ce_all;
+
+ /* If set it points to first element of the list linked by ce_all. */
+ struct tcell *ce_set;
struct tcell *ce_setdir; /* SETDIR ROOT pointer for this cell*/
struct tcell *ce_link; /* link for temporary list making */
struct tcell *ce_parent; /* used by inner loop, not a static */