summaryrefslogtreecommitdiff
path: root/source3/aparser/main.awk
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/main.awk')
-rw-r--r--source3/aparser/main.awk10
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/aparser/main.awk b/source3/aparser/main.awk
index c3e8c2539c..d891970c68 100644
--- a/source3/aparser/main.awk
+++ b/source3/aparser/main.awk
@@ -24,7 +24,7 @@
}
/^[ \t]*union.*\{/ {
- start_union($2, $3);
+ start_union($2);
next;
}
@@ -44,15 +44,9 @@
next;
}
-/^[ \t]*\{.*\}.*;/ {
- split($0,a,"[ \t;{}]*");
- add_array(a[2], a[3], a[4]);
- next;
-}
-
/.*;/ {
split($0,a,"[ \t;]*");
- add_elem(a[2], a[3]);
+ add_struct_elem(a[2], a[3]);
}
END {