diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-22 12:25:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-22 12:25:20 +0000 |
commit | 277322b9d4b9d009782f1a47baf09ee4033c8328 (patch) | |
tree | 934b8b7b8921f4c691be02324f2931a3c0a1b0df /source4/build/pidl/pidl.pl | |
parent | be77d9c60d17e0ef2ed0b51ea0814c42a41a40a3 (diff) | |
download | samba-277322b9d4b9d009782f1a47baf09ee4033c8328.tar.gz samba-277322b9d4b9d009782f1a47baf09ee4033c8328.tar.bz2 samba-277322b9d4b9d009782f1a47baf09ee4033c8328.zip |
added the beginnings of an IDL validator, to give clearer errors when
IDL is not valid
(This used to be commit c1b708708e262350d697829d444d0fb6a981a80f)
Diffstat (limited to 'source4/build/pidl/pidl.pl')
-rwxr-xr-x | source4/build/pidl/pidl.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index 73d2378612..b4710e5756 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -18,6 +18,7 @@ use header; use parser; use eparser; use client; +use validator; use util; my($opt_help) = 0; @@ -111,6 +112,8 @@ if ($opt_parse) { my($idl) = IdlParse($idl_file); defined $idl || die "Failed to parse $idl_file"; util::SaveStructure($pidl_file, $idl) || die "Failed to save $pidl_file"; + + IdlValidator::Validate($idl); } if ($opt_dump) { |