Skip to content
Snippets Groups Projects
PL1
Commit 541a01ca authored by Laura Alexandra Sequeira Gouveia's avatar Laura Alexandra Sequeira Gouveia
Browse files

Fix wrongful semicolon and identation.

parent 11e0e8e5
No related branches found
No related tags found
1 merge request!9Simulink Mapper improvement
......@@ -158,8 +158,8 @@ class FromASN1SCCtoSimulink(RecursiveMapper):
lines = [] # type: List[str]
limit = sourceSequenceLimit(node, srcVar)
lines.append("unsigned int i=0;\n");
lines.append("for(i=0; i<%s; i++)\n %s.element_data[i] = %s.arr[i];\n" % (limit, dstSimulink, srcVar));
lines.append("unsigned int i=0;\n")
lines.append("for(i=0; i<%s; i++)\n %s.element_data[i] = %s.arr[i];\n" % (limit, dstSimulink, srcVar))
if len(node._range) > 1 and node._range[0] != node._range[1]:
lines.append("%s.length = %s;\n" % (dstSimulink, limit))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment