summaryrefslogtreecommitdiff
path: root/source/aparser/templates/ifptr_start.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'source/aparser/templates/ifptr_start.tpl')
-rw-r--r--source/aparser/templates/ifptr_start.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/aparser/templates/ifptr_start.tpl b/source/aparser/templates/ifptr_start.tpl
new file mode 100644
index 00000000000..228b84bac93
--- /dev/null
+++ b/source/aparser/templates/ifptr_start.tpl
@@ -0,0 +1,2 @@
+ if (il->@ELEM@) {
+ if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@)))) goto fail;