diff options
Diffstat (limited to 'source4/pidl/idl.yp')
-rw-r--r-- | source4/pidl/idl.yp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp index 62f636cb00..1f6f22e1a1 100644 --- a/source4/pidl/idl.yp +++ b/source4/pidl/idl.yp @@ -109,7 +109,7 @@ declare: 'declare' property_list decl_type identifier';' }} ; -decl_type: decl_enum | decl_bitmap +decl_type: decl_enum | decl_bitmap | decl_union ; decl_enum: 'enum' @@ -124,6 +124,12 @@ decl_bitmap: 'bitmap' }} ; +decl_union: 'union' + {{ + "TYPE" => "UNION" + }} +; + typedef: 'typedef' property_list type identifier array_len ';' {{ "TYPE" => "TYPEDEF", |