Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse Titan
titan.core
Commits
929d7697
Unverified
Commit
929d7697
authored
Aug 17, 2018
by
Kristof Szabados
Committed by
GitHub
Aug 17, 2018
Browse files
Merge pull request #132 from izaingrid/master
minor formatting for port
parents
537c396d
e5f32f05
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler2/ttcn3/port.c
View file @
929d7697
...
...
@@ -200,10 +200,10 @@ static char *generate_send_mapping(char *src, const port_def *pdef,
if
(
has_condition
)
{
if
(
!
pdef
->
legacy
&&
pdef
->
port_type
==
USER
)
{
src
=
mputstr
(
src
,
"if (port_state != PARTIALLY_TRANSLATED) {
\n
"
);
}
src
=
mputstr
(
src
,
"
return;
\n
"
);
if
(
!
pdef
->
legacy
&&
pdef
->
port_type
==
USER
)
{
src
=
mputstr
(
src
,
"
}
\n
"
);
src
=
mputstr
(
src
,
"return;
\n
"
);
src
=
mputstr
(
src
,
"
}
\n
"
);
}
else
{
src
=
mputstr
(
src
,
"
return;
\n
"
);
}
if
(
pdef
->
legacy
)
{
src
=
mputstr
(
src
,
"}
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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