Changeset 2373


Ignore:
Timestamp:
Feb 10, 2007, 5:21:34 PM (14 years ago)
Author:
roman
Message:

CompilerEnvironment?

Location:
devel-tools/trunk/eclipse/org.refal.plus.comp/src/org/refal/plus/comp
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.plus.comp/src/org/refal/plus/comp/Checker.java

    r2370 r2373  
    11package org.refal.plus.comp;
    2 
    3 import java.io.PushbackReader;
    42
    53import org.refal.plus.comp.ast.AstImplem;
     
    1412                        return;
    1513
     14                ImportChecker.check(astImplem, environment);
     15                if (msgHandler.getErrorCount() > 0)
     16                        return;
     17               
    1618                NameChecker.check(astImplem, msgHandler);
    1719                if (msgHandler.getErrorCount() > 0)
  • devel-tools/trunk/eclipse/org.refal.plus.comp/src/org/refal/plus/comp/MsgCode.java

    r2279 r2373  
    99        DuplicateDefinitionOfTheFunction_X(Severity.Error,
    1010                        "Duplicate definition of the function %s"), //
     11        DuplicateImportOfTheModule_X(Severity.Error, "Duplicate import of the module %s"), //
    1112        ExceptionThrown(Severity.Error, "Exception thrown: %s"), //
    1213        ExpectedConstructs(Severity.Error, "Expected constructs: %s"), //
     
    2021        IOExceptionThrown(Severity.Error, "IOException thrown: %s"), //
    2122        MissingToken(Severity.Error, "Missing token: %s"), //
     23        Module_X_CanNotImportItself(Severity.Error, "Module %s can not import itself"), //
    2224        Name_X_IsNotDefined(Severity.Error, "Name %s is not defined"), //
    2325        NoDigitInNumber(Severity.Error, "No digit in number"), //
     
    3638                        "Unexpected new line in character string"), //
    3739        UnexpectedNewLineInWord(Severity.Error, "Unexpected new line in word"), //
    38         Variable_X_IsNotDefined(Severity.Error, "Variable %s is not defined"), //
     40        Variable_X_IsNotDefined(Severity.Error, "Variable %s is not defined"), // 
    3941        WrongSyntax(Severity.Error, "Wrong syntax"), //
    4042        X_IsNotAFunction(Severity.Error, "%s is not a function") //
Note: See TracChangeset for help on using the changeset viewer.