added TODO comments to BuildIR to implement import and packages
authorlimw <limw>
Mon, 18 Apr 2011 23:31:12 +0000 (23:31 +0000)
committerlimw <limw>
Mon, 18 Apr 2011 23:31:12 +0000 (23:31 +0000)
Robust/cup/java_cup/runtime/Scanner.class
Robust/cup/java_cup/runtime/Symbol.class
Robust/src/IR/Tree/BuildIR.java

index 29ef66b..60df2f1 100644 (file)
Binary files a/Robust/cup/java_cup/runtime/Scanner.class and b/Robust/cup/java_cup/runtime/Scanner.class differ
index 4831d12..d2b23e0 100644 (file)
Binary files a/Robust/cup/java_cup/runtime/Symbol.class and b/Robust/cup/java_cup/runtime/Symbol.class differ
index 663f239..9e2da3b 100644 (file)
@@ -42,6 +42,7 @@ public class BuildIR {
       for(int i=0; i<pnv.size(); i++) {
        ParseNode pnimport=pnv.elementAt(i);
        NameDescriptor nd=parseName(pnimport.getChild("name"));
       for(int i=0; i<pnv.size(); i++) {
        ParseNode pnimport=pnv.elementAt(i);
        NameDescriptor nd=parseName(pnimport.getChild("name"));
+       // TODO need to implement
        if (isNode(pnimport,"import_single"))
          singleimports.add(nd);
        else
        if (isNode(pnimport,"import_single"))
          singleimports.add(nd);
        else
@@ -50,6 +51,7 @@ public class BuildIR {
     }
     ParseNode ppn=pn.getChild("packages").getChild("package");
     if (ppn!=null) {
     }
     ParseNode ppn=pn.getChild("packages").getChild("package");
     if (ppn!=null) {
+       // TODO need to implement
       packages=parseName(ppn.getChild("name"));
     }
     ParseNode tpn=pn.getChild("type_declaration_list");
       packages=parseName(ppn.getChild("name"));
     }
     ParseNode tpn=pn.getChild("type_declaration_list");