From 678f2ca14b97c2bf0d5ef8fd0f0313425803c9ea Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 10 Dec 2009 10:04:48 +0300 Subject: pidl: Introduce new dirrective: relative_short relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher --- pidl/lib/Parse/Pidl/Compat.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pidl/lib/Parse/Pidl/Compat.pm') diff --git a/pidl/lib/Parse/Pidl/Compat.pm b/pidl/lib/Parse/Pidl/Compat.pm index 1b49c439c4..c248677747 100644 --- a/pidl/lib/Parse/Pidl/Compat.pm +++ b/pidl/lib/Parse/Pidl/Compat.pm @@ -125,6 +125,10 @@ sub CheckElement($) warning($e, "relative() pointer property not supported"); } + if (has_property($e, "relative_short")) { + warning($e, "relative_short() pointer property not supported"); + } + if (has_property($e, "flag")) { warning($e, "ignoring flag() property"); } -- cgit