summaryrefslogtreecommitdiff
path: root/source3/aparser/union.awk
blob: 4a26bd9c20c34ff7102fa733b42cd7c0da02ee40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function start_union(elem, name) {
	switch=elem;
	union=name;
}

function parse_case(value,type,elem) {
	case=value;
	add_elem(type, elem, 0);
}

function end_union() {
	union="";
	case="";
	switch="";
}