summaryrefslogtreecommitdiff
path: root/pidl/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-04-06 11:32:14 +1000
committerKamen Mazdrashki <kamenim@samba.org>2010-04-09 12:21:27 +0300
commit738ac5303711567e43b60810ae8d6910d071709a (patch)
treed1337af891cbcdbf7c966d1e145a3cf6c34297e1 /pidl/lib
parent526e62c46f432950645dc7019969eb694d7b0c6b (diff)
downloadsamba-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')
-rw-r--r--pidl/lib/Parse/Pidl/Compat.pm1
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm1
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