r8801: Change --output to --outputdir and make pidl add a data representation prefix
[sfrench/samba-autobuild/.git] / source4 / build / pidl / Parse / Pidl / Util.pm
index e4f25511e6eb5c56ab278d7facf4f0ce8e267030..b98b7bca00e82e3dceca20d1b0e87e7dacf399ca 100644 (file)
@@ -6,7 +6,7 @@ package Parse::Pidl::Util;
 
 require Exporter;
 @ISA = qw(Exporter);
-@EXPORT = qw(has_property property_matches ParseExpr);
+@EXPORT = qw(has_property property_matches ParseExpr is_constant);
 
 use strict;
 
@@ -87,18 +87,6 @@ sub FileSave($$)
     close(FILE);
 }
 
-#####################################################################
-# return a filename with a changed extension
-sub ChangeExtension($$)
-{
-    my($fname) = shift;
-    my($ext) = shift;
-    if ($fname =~ /^(.*)\.(.*?)$/) {
-       return "$1$ext";
-    }
-    return "$fname$ext";
-}
-
 #####################################################################
 # a dumper wrapper to prevent dependence on the Data::Dumper module
 # unless we actually need it