summaryrefslogtreecommitdiff
path: root/pidl/idl.yp
diff options
context:
space:
mode:
Diffstat (limited to 'pidl/idl.yp')
-rw-r--r--pidl/idl.yp15
1 files changed, 14 insertions, 1 deletions
diff --git a/pidl/idl.yp b/pidl/idl.yp
index 399ff74f41..dc8e293f76 100644
--- a/pidl/idl.yp
+++ b/pidl/idl.yp
@@ -189,6 +189,8 @@ usertype:
enum
|
bitmap
+ |
+ pipe
;
typedecl:
@@ -379,6 +381,17 @@ pointers:
pointers '*' { $_[1]+1 }
;
+pipe:
+ property_list 'pipe' type
+ {{
+ "TYPE" => "PIPE",
+ "PROPERTIES" => $_[1],
+ "DATA" => $_[3],
+ "FILE" => $_[0]->YYData->{FILE},
+ "LINE" => $_[0]->YYData->{LINE},
+ }}
+;
+
element_list1:
#empty
{ [] }
@@ -603,7 +616,7 @@ again:
if ($1 =~
/^(coclass|interface|import|importlib
|include|cpp_quote|typedef
- |union|struct|enum|bitmap
+ |union|struct|enum|bitmap|pipe
|void|const|unsigned|signed)$/x) {
return $1;
}