summaryrefslogtreecommitdiff
path: root/source3/aparser/parsetree.awk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-16 15:03:48 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-16 15:03:48 +0000
commit9b863398690af5ea356506a7f51da8a862b45087 (patch)
treec792ee476656bcb12aebffc85eee8f3c47839053 /source3/aparser/parsetree.awk
parent058ecd89b45bf4e52194595a320e140483c93d30 (diff)
downloadsamba-9b863398690af5ea356506a7f51da8a862b45087.tar.gz
samba-9b863398690af5ea356506a7f51da8a862b45087.tar.bz2
samba-9b863398690af5ea356506a7f51da8a862b45087.zip
the vluke program now takes a structure name on the command line
(This used to be commit 6a3e7ba4f0716eb414daba4ab8aae974db4deba0)
Diffstat (limited to 'source3/aparser/parsetree.awk')
-rw-r--r--source3/aparser/parsetree.awk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/aparser/parsetree.awk b/source3/aparser/parsetree.awk
index cd4e442c9b..e99793f516 100644
--- a/source3/aparser/parsetree.awk
+++ b/source3/aparser/parsetree.awk
@@ -20,6 +20,9 @@ function start_struct(name)
function end_struct()
{
+ printf("struct %s with %d elements\n",
+ structs[num_structs, "name"],
+ structs[num_structs, "num_elems"]);
num_structs++;
current_struct="";
}