diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-16 11:55:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-16 11:55:06 +0000 |
commit | f3a3a05ade784ff6906e5c8b132c9440a8db44e5 (patch) | |
tree | 35f1cfbb0a880a592487450c5a9b8d37cfe302b9 /source3/aparser/templates/ifptr_start.tpl | |
parent | 466338b165a19149e7a938bf4302c95dcab82beb (diff) | |
download | samba-f3a3a05ade784ff6906e5c8b132c9440a8db44e5.tar.gz samba-f3a3a05ade784ff6906e5c8b132c9440a8db44e5.tar.bz2 samba-f3a3a05ade784ff6906e5c8b132c9440a8db44e5.zip |
another awk parser update
we can now handle arrays of structures, pointers to structures,
pointers in unions etc
(This used to be commit 1df80cd1e8475b6b2fe7b80b6c9089692ab7691b)
Diffstat (limited to 'source3/aparser/templates/ifptr_start.tpl')
-rw-r--r-- | source3/aparser/templates/ifptr_start.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/aparser/templates/ifptr_start.tpl b/source3/aparser/templates/ifptr_start.tpl index ffffe49e91..228b84bac9 100644 --- a/source3/aparser/templates/ifptr_start.tpl +++ b/source3/aparser/templates/ifptr_start.tpl @@ -1 +1,2 @@ if (il->@ELEM@) { + if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@)))) goto fail; |