Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
811ab42e
Commit
811ab42e
authored
7 years ago
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plc editor, DataRef bugfix for compile method 4
parent
f6cde318
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+4
-2
No files found.
wb/lib/wb/src/wb_gcg.cpp
View file @
811ab42e
...
...
@@ -7002,9 +7002,9 @@ int gcg_comp_m4( gcg_ctx gcgctx, vldh_t_node node)
if
(
output_count
>
0
)
{
output_found
=
1
;
output_found
=
1
;
if
(
output_count
>
1
)
gcg_error_msg
(
gcgctx
,
GSX__CONOUTPUT
,
output_node
);
gcg_error_msg
(
gcgctx
,
GSX__CONOUTPUT
,
output_node
);
sts
=
gcg_get_outputstring
(
gcgctx
,
output_node
,
&
output_bodydef
,
&
output_attrref
,
&
output_type
,
&
output_prefix
,
output_par
);
...
...
@@ -7018,6 +7018,8 @@ int gcg_comp_m4( gcg_ctx gcgctx, vldh_t_node node)
if
(
par_inverted
)
gcg_error_msg
(
gcgctx
,
GSX__INV
,
node
);
if
(
output_bodydef
.
Par
->
Output
.
Info
.
Type
==
pwr_eType_DataRef
)
strcpy
(
cast
,
"(pwr_tVoid *)"
);
IF_PR
fprintf
(
gcgctx
->
files
[
GCGM1_REF_FILE
],
"%c%s->%sP = %s&%c%s->%s;
\n
"
,
GCG_PREFIX_REF
,
...
...
This diff is collapsed.
Click to expand it.
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