summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-03-21 16:42:56 +0000
committerpaltherr <paltherr@epfl.ch>2003-03-21 16:42:56 +0000
commite2a09f258a66f71ea90e65b645d8a03b1a64be71 (patch)
tree22c62210a3cfc5fa5eb28d657399e560cf738e1d /sources/scalac/symtab
parent787d4bb9dbc540a61632c1f234a54ab74a69609c (diff)
downloadscala-e2a09f258a66f71ea90e65b645d8a03b1a64be71.tar.gz
scala-e2a09f258a66f71ea90e65b645d8a03b1a64be71.tar.bz2
scala-e2a09f258a66f71ea90e65b645d8a03b1a64be71.zip
- Removed method createPhase in class PhaseDesc...
- Removed method createPhase in class PhaseDescriptor Made method apply - abstract in class PhaseDescriptor Implemented method apply in all - subclasses of class PhaseDescriptor
Diffstat (limited to 'sources/scalac/symtab')
-rw-r--r--sources/scalac/symtab/SourceCompleter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/scalac/symtab/SourceCompleter.java b/sources/scalac/symtab/SourceCompleter.java
index def4a80c9e..fefe00ab16 100644
--- a/sources/scalac/symtab/SourceCompleter.java
+++ b/sources/scalac/symtab/SourceCompleter.java
@@ -2,10 +2,10 @@
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
-** **
-** $Id$
\* */
+// $Id$
+
package scalac.symtab;
import scalac.*;
@@ -38,8 +38,8 @@ public class SourceCompleter extends Type.LazyType {
long msec = System.currentTimeMillis();
Unit unit = new Unit(global, new Sourcefile(filename), false);
filename = null;
- global.PHASE.PARSER.createPhase(global).apply(unit);
- ((Analyzer)global.PHASE.ANALYZER.createPhase(global)).lateEnter(unit, c);
+ global.PHASE.PARSER.apply(unit);
+ global.PHASE.ANALYZER.lateEnter(global, unit, c);
global.operation("added " + fname + " in " +
(System.currentTimeMillis() - msec) + "ms");
} catch (IOException e) {