Skip to content
Snippets Groups Projects
Commit 7e2e5f6c authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

updated to new API w/ version parameter = 2013

parent 5cf80f4b
Branches
Tags
No related merge requests found
...@@ -200,7 +200,7 @@ public class DynamicPart { ...@@ -200,7 +200,7 @@ public class DynamicPart {
private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) { private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) {
Map<String, String> genCode = new HashMap<String, String>(); Map<String, String> genCode = new HashMap<String, String>();
try { try {
lcAST.J_gen(genCode, "labcomm.generated"); lcAST.J_gen(genCode, "labcomm.generated", 2013);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -210,7 +210,7 @@ public class TestLabCommCompiler { ...@@ -210,7 +210,7 @@ public class TestLabCommCompiler {
private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) { private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) {
Map<String, String> genCode = new HashMap<String, String>(); Map<String, String> genCode = new HashMap<String, String>();
try { try {
lcAST.J_gen(genCode, "labcomm.generated"); lcAST.J_gen(genCode, "labcomm.generated", 2013);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
...@@ -203,7 +203,7 @@ public class TestLabcommGen { ...@@ -203,7 +203,7 @@ public class TestLabcommGen {
private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) { private static InRAMCompiler handleAst(Program lcAST, HashMap<String, String> handlers) {
Map<String, String> genCode = new HashMap<String, String>(); Map<String, String> genCode = new HashMap<String, String>();
try { try {
lcAST.J_gen(genCode, "labcomm.generated"); lcAST.J_gen(genCode, "labcomm.generated", 2013);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
...@@ -287,7 +287,7 @@ public class TestLabcommGen { ...@@ -287,7 +287,7 @@ public class TestLabcommGen {
private static InRAMCompiler handleAstSeparate(Program lcAST, HashMap<String, String> handlers) { private static InRAMCompiler handleAstSeparate(Program lcAST, HashMap<String, String> handlers) {
Map<String, String> genCode = new HashMap<String, String>(); Map<String, String> genCode = new HashMap<String, String>();
try { try {
lcAST.J_gen(genCode, "labcomm.generated"); lcAST.J_gen(genCode, "labcomm.generated", 2013);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment