From 558ff911df1e16e28e3a1efa0849c9083d08c617 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 5 Aug 2009 13:40:38 +0200 Subject: pidl: parse idl 'pipe' typedefs, but print out a not supported message for now metze --- pidl/idl.yp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'pidl/idl.yp') 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; } -- cgit