* net/loveruby/cflat/compiler/LocalReferenceResolver.java -> LocalResolver.java

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4099 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-12-07 08:13:47 +00:00
parent 545515b5e0
commit 278c5bea47
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sun Dec 7 17:13:45 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/LocalReferenceResolver.java ->
LocalResolver.java
Sun Dec 7 17:09:17 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/ast/ToplevelScope.java: use SemanticException

View File

@ -172,7 +172,7 @@ public class Compiler {
protected void semanticAnalysis(AST ast, Options opts)
throws SemanticException {
new JumpResolver(errorHandler).resolve(ast);
new LocalReferenceResolver(errorHandler).resolve(ast);
new LocalResolver(errorHandler).resolve(ast);
new TypeResolver(errorHandler).resolve(ast);
ast.typeTable().semanticCheck(errorHandler);
new DereferenceChecker(errorHandler).check(ast);

View File

@ -3,14 +3,14 @@ import net.loveruby.cflat.ast.*;
import net.loveruby.cflat.exception.*;
import java.util.*;
public class LocalReferenceResolver extends Visitor {
public class LocalResolver extends Visitor {
// #@@range/ctor{
protected ErrorHandler errorHandler;
protected ToplevelScope toplevel;
protected LinkedList<Scope> scopeStack;
protected ConstantTable constantTable;
public LocalReferenceResolver(ErrorHandler h) {
public LocalResolver(ErrorHandler h) {
this.errorHandler = h;
}
// #@@}