[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/6] * load.c: add support of parent_records
From: |
Macpaul Lin |
Subject: |
[PATCH v2 5/6] * load.c: add support of parent_records |
Date: |
Mon, 18 Aug 2014 21:27:14 +0800 |
(do_variable_definition): fix API consistency for supporting parent_records.
Signed-off-by: Macpaul Lin <address@hidden>
---
Changes for v2:
- no changes.
load.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/load.c b/load.c
index b937c9f..78b800f 100644
--- a/load.c
+++ b/load.c
@@ -214,7 +214,8 @@ load_file (const gmk_floc *flocp, const char **ldname, int
noerror)
/* If it succeeded, add the load file to the loaded variable. */
if (r > 0)
- do_variable_definition (flocp, ".LOADED", *ldname, o_default, f_append, 0);
+ do_variable_definition (flocp, ".LOADED", *ldname, o_default, f_append, 0,
+ NULL);
return r;
}
--
1.9.1
- [PATCH v2 1/6] * expand.c (variable_name_extract): extract variable name and strip prefix., Macpaul Lin, 2014/08/18
- [PATCH v2 2/6] * variable.h: Add support of struct value_records and parent_records, Macpaul Lin, 2014/08/18
- [PATCH v2 3/6] * variable.c: Add support for constructing value_records and parent_records, Macpaul Lin, 2014/08/18
- [PATCH v2 4/6] * read.c: Construct the dependency chain between parent and target variable, Macpaul Lin, 2014/08/18
- [PATCH v2 5/6] * load.c: add support of parent_records,
Macpaul Lin <=
- [PATCH v2 6/6] * main.c: add --dep parameter for print variable dependency, Macpaul Lin, 2014/08/18
- Re: [PATCH v2 1/6] * expand.c (variable_name_extract): extract variable name and strip prefix., Paul Smith, 2014/08/18