dianaliu / oop

Final project for CSCI-UA.0470-001. See branch 'final' for our submission.
1 stars 0 forks source link

Error with two classes in one file at findArrays #16

Closed dianaliu closed 12 years ago

dianaliu commented 12 years ago

public class Testere { public static void main(String[] args) { // pust aziz = new pust(); // aziz.yildirim(31); int sikko = 5; } double tayfur(double a) { return a; } } class pust { int yildirim(long a) { int duydum = 7; return duydum; } }

java.lang.NullPointerException at xtc.oop.LeafTransplant.findArrays(LeafTransplant.java:372) at xtc.oop.LeafTransplant.buildHeader(LeafTransplant.java:183) at xtc.oop.LeafTransplant.translateClassDeclaration(LeafTransplant.java:155) at xtc.oop.LeafTransplant$1.visitClassDeclaration(LeafTransplant.java:105) at xtc.oop.LeafTransplant$1.visit(LeafTransplant.java:115) at xtc.oop.LeafTransplant.createCPPTree(LeafTransplant.java:96) at xtc.oop.LeafTransplant.(LeafTransplant.java:81) at xtc.oop.Translator.process(Translator.java:183) at xtc.util.Tool.run(Tool.java:548) at xtc.oop.Translator.main(Translator.java:293) 1 error

dianaliu commented 12 years ago

rob fixed this, he just needs to merge into master