diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-04-06 11:32:14 +1000 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-04-09 12:21:27 +0300 |
commit | 738ac5303711567e43b60810ae8d6910d071709a (patch) | |
tree | d1337af891cbcdbf7c966d1e145a3cf6c34297e1 /pidl/lib/Parse | |
parent | 526e62c46f432950645dc7019969eb694d7b0c6b (diff) | |
download | samba-738ac5303711567e43b60810ae8d6910d071709a.tar.gz samba-738ac5303711567e43b60810ae8d6910d071709a.tar.bz2 samba-738ac5303711567e43b60810ae8d6910d071709a.zip |
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
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r-- | pidl/lib/Parse/Pidl/Compat.pm | 1 | ||||
-rw-r--r-- | pidl/lib/Parse/Pidl/NDR.pm | 1 |
2 files changed, 2 insertions, 0 deletions
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 |