diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-21 18:11:51 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-21 18:11:51 +0000 |
commit | c86bcd063048ab18836415b85752fa0fe683418c (patch) | |
tree | 0e4be80d84e67118ffc8ada2693655cf90478103 /sources/scalac/symtab/classfile/PackageParser.java | |
parent | 430c5dbe56f5826a2b26a386e4f1f55d3bc835b7 (diff) | |
download | scala-c86bcd063048ab18836415b85752fa0fe683418c.tar.gz scala-c86bcd063048ab18836415b85752fa0fe683418c.tar.bz2 scala-c86bcd063048ab18836415b85752fa0fe683418c.zip |
- Removed reference from CLRPackageParser on Pa...
- Removed reference from CLRPackageParser on PackageParser
Diffstat (limited to 'sources/scalac/symtab/classfile/PackageParser.java')
-rw-r--r-- | sources/scalac/symtab/classfile/PackageParser.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sources/scalac/symtab/classfile/PackageParser.java b/sources/scalac/symtab/classfile/PackageParser.java index 374c977c38..c28a11f443 100644 --- a/sources/scalac/symtab/classfile/PackageParser.java +++ b/sources/scalac/symtab/classfile/PackageParser.java @@ -34,17 +34,12 @@ public class PackageParser extends SymbolLoader { //######################################################################## // Private Fields - /** The CLR package parser */ - private final CLRPackageParser importer; - //######################################################################## // Public Constructors /** Initializes this instance. */ public PackageParser(Global global) { super(global); - this.importer = (global.target == global.TARGET_MSIL) - ? CLRPackageParser.create(global) : null; } //######################################################################## @@ -126,7 +121,8 @@ public class PackageParser extends SymbolLoader { } // collect and create CLR members - if (importer != null) importer.importCLRTypes(peckage, members, this); + if (global.target == global.TARGET_MSIL) + CLRPackageParser.instance(global).importCLRTypes(peckage, members); // initialize package peckage.setInfo(Type.compoundType(Type.EMPTY_ARRAY, members, peckage)); |