From 738ac5303711567e43b60810ae8d6910d071709a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 6 Apr 2010 11:32:14 +1000 Subject: pidl:python Allow 'nopython' to work The 'nopython' flag wasn't available for use, as it failed to get past the syntax checker. Andrew Bartlett --- pidl/lib/Parse/Pidl/Compat.pm | 1 + pidl/lib/Parse/Pidl/NDR.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'pidl/lib') diff --git a/pidl/lib/Parse/Pidl/Compat.pm b/pidl/lib/Parse/Pidl/Compat.pm index c248677747..66f3c5fffd 100644 --- a/pidl/lib/Parse/Pidl/Compat.pm +++ b/pidl/lib/Parse/Pidl/Compat.pm @@ -44,6 +44,7 @@ my %supported_properties = ( "nopush" => ["FUNCTION", "TYPEDEF"], "nopull" => ["FUNCTION", "TYPEDEF"], "noprint" => ["FUNCTION", "TYPEDEF"], + "nopython" => ["FUNCTION", "TYPEDEF"], # union "switch_is" => ["ELEMENT"], diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm index d326f67040..3d91f3ad79 100644 --- a/pidl/lib/Parse/Pidl/NDR.pm +++ b/pidl/lib/Parse/Pidl/NDR.pm @@ -917,6 +917,7 @@ my %property_list = ( "nopull" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP"], "nosize" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP"], "noprint" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP", "ELEMENT"], + "nopython" => ["FUNCTION", "TYPEDEF", "STRUCT", "UNION", "ENUM", "BITMAP"], "todo" => ["FUNCTION"], # union -- cgit