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
f6cde318
Commit
f6cde318
authored
Mar 17, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plc editor, fix for GetDataRefp referencing pwr_tDataRef attributes
parent
f2f951e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+5
-1
No files found.
wb/lib/wb/src/wb_gcg.cpp
View file @
f6cde318
...
...
@@ -3739,6 +3739,7 @@ static int gcg_get_outputstring_spec(
int
sts
,
size
;
pwr_sAttrRef
*
attrref
;
pwr_tClassId
cid
;
pwr_tTid
tid
;
ldh_tSesContext
ldhses
;
char
*
name_p
;
pwr_tAName
aname
;
...
...
@@ -3899,7 +3900,7 @@ static int gcg_get_outputstring_spec(
if
(
EVEN
(
sts
))
return
sts
;
/* Check that this is objdid of an existing object */
sts
=
ldh_GetAttrRefOrigTid
(
ldhses
,
attrref
,
&
c
id
);
sts
=
ldh_GetAttrRefOrigTid
(
ldhses
,
attrref
,
&
t
id
);
if
(
EVEN
(
sts
))
{
gcg_error_msg
(
gcgctx
,
GSX__REFOBJ
,
output_node
);
free
((
char
*
)
attrref
);
...
...
@@ -3944,6 +3945,9 @@ static int gcg_get_outputstring_spec(
sts
=
gcg_parname_to_pgmname
(
ldhses
,
cid
,
s
+
1
,
parstring
);
if
(
EVEN
(
sts
))
return
sts
;
if
(
tid
==
pwr_eType_DataRef
)
strcat
(
parstring
,
".Ptr"
);
*
parprefix
=
GCG_PREFIX_REF
;
*
partype
=
GCG_OTYPE_AREF
;
return
GSX__SPECFOUND
;
...
...
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