Skip to content
Snippets Groups Projects
Commit b63965e8 authored by Irina LEE's avatar Irina LEE
Browse files

fixed code in primitive code (syscams)

parent a7163fb3
No related branches found
No related tags found
1 merge request!72Syscams
...@@ -132,6 +132,8 @@ public class PrimitiveCode { ...@@ -132,6 +132,8 @@ public class PrimitiveCode {
} }
if (i == tdf.getListStruct().getSize()-1 && i != 0) { if (i == tdf.getListStruct().getSize()-1 && i != 0) {
corpsPrimitiveTDF = corpsPrimitiveTDF + "\t\t, " + identifier + "(" + value + ")" + CR + "\t\t{}" + CR; corpsPrimitiveTDF = corpsPrimitiveTDF + "\t\t, " + identifier + "(" + value + ")" + CR + "\t\t{}" + CR;
} else {
corpsPrimitiveTDF = corpsPrimitiveTDF + "\t\t{}" + CR;
} }
} }
corpsPrimitiveTDF = corpsPrimitiveTDF + "\t};" + CR; corpsPrimitiveTDF = corpsPrimitiveTDF + "\t};" + CR;
...@@ -443,6 +445,8 @@ public class PrimitiveCode { ...@@ -443,6 +445,8 @@ public class PrimitiveCode {
} }
if (i == de.getListStruct().getSize()-1 && i != 0) { if (i == de.getListStruct().getSize()-1 && i != 0) {
corpsPrimitiveDE = corpsPrimitiveDE + "\t\t, " + identifier + "(" + value + ")" + CR + "\t\t{}" + CR; corpsPrimitiveDE = corpsPrimitiveDE + "\t\t, " + identifier + "(" + value + ")" + CR + "\t\t{}" + CR;
} else {
corpsPrimitiveDE = corpsPrimitiveDE + "\t\t{}" + CR;
} }
} }
corpsPrimitiveDE = corpsPrimitiveDE + "\t};" + CR; corpsPrimitiveDE = corpsPrimitiveDE + "\t};" + CR;
...@@ -590,7 +594,7 @@ public class PrimitiveCode { ...@@ -590,7 +594,7 @@ public class PrimitiveCode {
} }
String pc = buffer.toString(); String pc = buffer.toString();
corpsPrimitiveDE = corpsPrimitiveDE + CR + "\t" + pc + CR; corpsPrimitiveDE = corpsPrimitiveDE + CR + "\t" + pc;
corpsPrimitiveDE = corpsPrimitiveDE + CR + "};" + CR2 + "#endif" + " // " + de.getName().toUpperCase() + "_H"; corpsPrimitiveDE = corpsPrimitiveDE + CR + "};" + CR2 + "#endif" + " // " + de.getName().toUpperCase() + "_H";
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment