Changeset 3864 for devel-tools
- Timestamp:
- Jul 23, 2008, 3:34:11 PM (13 years ago)
- Location:
- devel-tools/trunk/eclipse
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/compiler/RefalASGenerator.java
r3851 r3864 117 117 public void visit (AstFuncDecl astFuncDecl, Expr.Concatenator e) { 118 118 Expr.Concatenator items = Expr.getConcatenator(); 119 if (astFuncDecl.funcDef instanceof AstNative)120 items.toRight(NATIVE);121 119 if (astFuncDecl.funcDef == null) 122 120 items.toRight(IMPORT); … … 134 132 astFuncDecl.outFormat.accept(this, outFormat); 135 133 items.toRight((Comparable<?>) outFormat.yield()); 136 if (astFuncDecl.funcDef instanceof AstNative) 137 items.toRight(((AstNative) astFuncDecl.funcDef).right.identifier); 138 else if (astFuncDecl.funcDef instanceof AstFuncDef) { 134 if (astFuncDecl.funcDef instanceof AstNative) { 135 Expr.Concatenator body = Expr.getConcatenator(); 136 body.toRight(NATIVE); 137 body.toRight(((AstNative) astFuncDecl.funcDef).right.identifier); 138 items.toRight((Comparable<?>) body.yield()); 139 } else if (astFuncDecl.funcDef instanceof AstFuncDef) { 139 140 Expr.Concatenator body = Expr.getConcatenator(); 140 141 body.toRight(BRANCH);
Note: See TracChangeset
for help on using the changeset viewer.