From 32a7cf9188672b0c4766056eb762972f8488aa8e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 May 2000 13:41:05 +0000 Subject: started update to handle arbitrary arrays note: this code is currently broken. (This used to be commit 15646ebd84ee4e63a251c87800677f3dd2ae6971) --- source3/aparser/header.awk | 49 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 24 deletions(-) (limited to 'source3/aparser/header.awk') diff --git a/source3/aparser/header.awk b/source3/aparser/header.awk index e7e5b2cff4..406335c930 100644 --- a/source3/aparser/header.awk +++ b/source3/aparser/header.awk @@ -1,37 +1,38 @@ # produce a header file for a parsed struct file -function header_union(f, struct_num, union, - LOCAL, i) +function header_elstring(elnum, + LOCAL, elem) { - xprintf(f,"\tunion {\n"); - for (i=0;i