Index: Source/bindings/scripts/deprecated_code_generator_v8.pm |
diff --git a/Source/bindings/scripts/CodeGeneratorV8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
similarity index 99% |
rename from Source/bindings/scripts/CodeGeneratorV8.pm |
rename to Source/bindings/scripts/deprecated_code_generator_v8.pm |
index a10985f8c2887ea61b27fedf8b0bb16dab36aab6..cf23ac71a26827429102ad4fdf7ca94d81b93106 100644 |
--- a/Source/bindings/scripts/CodeGeneratorV8.pm |
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
@@ -107,7 +107,7 @@ sub toString |
} |
-package CodeGeneratorV8; |
+package deprecated_code_generator_v8; |
use strict; |
use Cwd; |
@@ -118,7 +118,6 @@ use File::Spec; |
my $idlDocument; |
my $idlDirectories; |
my $preprocessor; |
-my $defines; |
my $verbose; |
my $interfaceIdlFiles; |
my $writeFileOnlyIfChanged; |
@@ -261,7 +260,6 @@ sub new |
$idlDocument = shift; |
$idlDirectories = shift; |
$preprocessor = shift; |
- $defines = shift; |
$verbose = shift; |
$interfaceIdlFiles = shift; |
$writeFileOnlyIfChanged = shift; |
@@ -311,8 +309,8 @@ sub ParseInterface |
print " | |> Parsing parent IDL \"$filename\" for interface \"$interfaceName\"\n" if $verbose; |
# Step #2: Parse the found IDL file (in quiet mode). |
- my $parser = IDLParser->new(1); |
- my $document = $parser->Parse($filename, $defines, $preprocessor); |
+ my $parser = deprecated_idl_parser->new(1); |
+ my $document = $parser->Parse($filename, $preprocessor); |
foreach my $interface (@{$document->interfaces}) { |
if ($interface->name eq $interfaceName or $interface->isPartial) { |