diff options
Diffstat (limited to 'source4/build/pidl/idl.gram')
-rw-r--r-- | source4/build/pidl/idl.gram | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/idl.gram b/source4/build/pidl/idl.gram index c3723a14af..c08c6b0e81 100644 --- a/source4/build/pidl/idl.gram +++ b/source4/build/pidl/idl.gram @@ -53,13 +53,13 @@ union: property_list(s?) 'union' <commit> '{' union_element(s?) '}' }} | <error?> -union_element: '[case(' constant ')]' base_element ';' +union_element: '[' 'case' '(' constant ')' ']' base_element ';' {{ "TYPE" => "UNION_ELEMENT", "CASE" => $item{constant}, "DATA" => $item{base_element} }} - | 'case(' constant ')' base_element ';' + | 'case' '(' constant ')' base_element ';' {{ "TYPE" => "UNION_ELEMENT", "CASE" => $item{constant}, |