Changeset 3361 for devel-tools/trunk


Ignore:
Timestamp:
Feb 4, 2008, 11:11:43 PM (13 years ago)
Author:
yura
Message:
  • Simplification of annotation,
Location:
devel-tools/trunk/eclipse/org.refal.plus.rfpdt/src/org/refal/plus/rfpdt/comp
Files:
2 edited

Legend:

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

    r3329 r3361  
    1818import org.refal.plus.rfpdt.comp.ast.AstIter;
    1919import org.refal.plus.rfpdt.comp.ast.AstNative;
     20import org.refal.plus.rfpdt.comp.ast.AstNode;
    2021import org.refal.plus.rfpdt.comp.ast.AstNot;
    2122import org.refal.plus.rfpdt.comp.ast.AstObjDecl;
     
    8384        else {
    8485            AstFence astFence = e.pop();
    85             astFence.cuts.add(astCut);
     86            astFence.uses.add(astCut);
    8687            astCut.fence = astFence;
    8788        }
     
    9798
    9899    public void visit (AstFence astFence, Stack<AstFence> e) {
    99         astFence.cuts = new ArrayList<AstCut>();
     100        astFence.uses = new ArrayList<AstNode>();
     101        astFence.uses.add(astFence);
    100102        e.push(astFence);
    101103    }
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt/src/org/refal/plus/rfpdt/comp/ast/AstFence.java

    r3329 r3361  
    66
    77public final class AstFence extends AstStatement {
    8     public ArrayList<AstCut> cuts = null;
     8    public ArrayList<AstNode> uses = null;
    99
    1010    public AstFence (SrcPosition pos) {
Note: See TracChangeset for help on using the changeset viewer.