Changeset 3648 for devel-tools


Ignore:
Timestamp:
Mar 31, 2008, 6:27:48 PM (13 years ago)
Author:
yura
Message:
  • Refal Runtime generated without line information - step filter does not needed.
  • rfpdt.runtime -> rfpdt.lib.
Location:
devel-tools/trunk/eclipse/org.refal.rfpdt.core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/META-INF/MANIFEST.MF

    r3622 r3648  
    1313 org.eclipse.jdt.debug,
    1414 org.eclipse.jdt.launching,
    15  org.refal.rfpdt.runtime
     15 org.refal.rfpdt.lib
    1616Eclipse-LazyStart: true
    1717Bundle-RequiredExecutionEnvironment: J2SE-1.5
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/compiler/AstEnvironment.java

    r3566 r3648  
    5454
    5555    public AstInterf getInterf (String moduleName) {
    56         AstInterf interf = RfpParser.parseInterf(moduleName, env.getClassReader(moduleName), MsgHandler.empty);
    57         if (interf != null) {
    58             for (AstTopNode topNode : interf.topNodeList)
    59                 if (topNode instanceof AstDecl)
    60                     ((AstDecl) topNode).module = moduleName;
    61             return interf;
    62         }
    63         interf = RfpParser.parseInterf(moduleName, env.getRFIReader(moduleName), MsgHandler.empty);
     56        AstInterf interf = RfpParser.parseInterf(moduleName, env.getRFIReader(moduleName), MsgHandler.empty);
    6457        if (interf != null && interf.moduleName != null && !moduleName.equals(interf.moduleName.identifier))
    6558            return null;
     
    6760        if (implem != null && implem.astModuleName != null && !moduleName.equals(implem.astModuleName.identifier))
    6861            implem = null;
     62        if (interf == null && implem == null)
     63            interf = RfpParser.parseInterf(moduleName, env.getClassReader(moduleName), MsgHandler.empty);
    6964        if (interf == null && implem == null)
    7065            return null;
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/core/RfpPreBuilder.java

    r3642 r3648  
    3131import org.refal.rfpdt.compiler.Checker;
    3232import org.refal.rfpdt.compiler.CompilerEnvironment;
    33 import org.refal.rfpdt.compiler.MsgCode;
    3433import org.refal.rfpdt.compiler.MsgHandler;
    3534import org.refal.rfpdt.compiler.RefalInterfaceComplier;
    36 import org.refal.rfpdt.compiler.SrcPosition;
    3735
    3836public class RfpPreBuilder extends IncrementalProjectBuilder {
     
    7472    private static class IdeCompilerEnvironment implements CompilerEnvironment {
    7573        private final RfpProject project;
    76         private final MsgHandler handler;
    7774        private final String moduleName;
    7875
     
    8077            this.project = project;
    8178            this.moduleName = project.getModuleName(file);
    82             this.handler = new MsgHandler() {
    83                 @Override
    84                 public void send (SrcPosition pos, MsgCode msgCode, Object... args) {}
    85             };
    8679        }
    8780
     
    9184
    9285        public MsgHandler getMsgHandler () {
    93             return handler;
     86            return MsgHandler.empty;
    9487        }
    9588
Note: See TracChangeset for help on using the changeset viewer.