Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
541a01ca
Commit
541a01ca
authored
Apr 30, 2020
by
Laura Alexandra Sequeira Gouveia
Browse files
Fix wrongful semicolon and identation.
parent
11e0e8e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/B_mappers/simulink_B_mapper.py
View file @
541a01ca
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment