summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_array.tpl
blob: 1bf3fa4b042b1f41e1c987c7bf6cc27414402d15 (plain)
1
2
3
4
5
6
7
8
	if ((@FLAGS@ & PARSE_SCALARS) &&
            !io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*il->@ARRAY_LEN@)) goto fail;
	{
		int i;
		for (i=0;i<il->@ARRAY_LEN@;i++) {
		if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
		}
	}