Skip to content

Commit

Permalink
Deleted useless prints in main.
Browse files Browse the repository at this point in the history
  • Loading branch information
gandrin committed Mar 30, 2016
1 parent 72c6122 commit cf31766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main/Compile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ let execute lexbuf verbose =
print_endline "";
print_endline "----------------------[ \027[96mCompiling typed AST\027[0m ]----------------------";
let data = Compilation.treeWalk typedAST in
printData data;
(*printData data;*)
let test9 = {
edesc = Val(Int("9"));
etype = Some(Primitive(Int));
}
in
let scopedData = Execute.executeMethod ((Execute.getMain data.tm),Ref({tpath=[];tid="identifier"})) {data=data; currentScope=0; currentObject={objectId=1;objectName=""; attributes=[]; objectValue=Compilation.Null; scope=0};stack=[]} [Some(test9)] in
printData scopedData.data;
(*printData scopedData.data;*)
if verbose then AST.print_program typedAST
with
| Error ->
Expand Down

0 comments on commit cf31766

Please sign in to comment.