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
adff4ce4
Commit
adff4ce4
authored
Jun 12, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wb dataarithm error for long code lines
parent
80d0f766
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
src/msg/wb/src/wb_foe_msg.msg
src/msg/wb/src/wb_foe_msg.msg
+1
-0
wb/lib/wb/src/wb_foe_dataarithm.c
wb/lib/wb/src/wb_foe_dataarithm.c
+9
-1
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+1
-1
No files found.
src/msg/wb/src/wb_foe_msg.msg
View file @
adff4ce4
...
...
@@ -133,6 +133,7 @@ misplacedthread <Misplaced thread object> /error
obsolete <Object is obsolete> /error
ccwarning <Warning from c compiler or linker> /warning
ccsucc <Window compiled> /info
dataalinesize <DataArithm maximum line size exceeded> /error
.facility FOE,280 /prefix = FOE__ ! Function object editor
...
...
wb/lib/wb/src/wb_foe_dataarithm.c
View file @
adff4ce4
...
...
@@ -1584,6 +1584,8 @@ static int dataa_get_next_line( char *str,
i
++
;
t
++
;
s
++
;
if
(
i
==
size
)
return
-
1
;
}
*
t
=
*
s
;
if
(
*
s
==
0
)
return
1
;
...
...
@@ -1721,7 +1723,7 @@ pwr_tStatus dataarithm_convert (
char
*
t
;
char
*
delim_p
;
int
hit
,
delim_hit
;
char
tmpstr
[
16
0
];
char
tmpstr
[
20
0
];
char
*
write_from
;
int
first_line
;
int
end_of_text
;
...
...
@@ -1742,6 +1744,12 @@ pwr_tStatus dataarithm_convert (
{
end_of_text
=
dataa_get_next_line
(
str
,
&
p
,
line
,
sizeof
(
line
),
first_line
);
if
(
end_of_text
==
-
1
)
{
strncpy
(
error_line
,
line
,
*
error_line_size
);
error_line
[
*
error_line_size
-
1
]
=
0
;
*
error_line_num
=
dataactx
->
line_count
+
1
;
return
GSX__DATAALINESIZE
;
}
dataactx
->
line_count
++
;
first_line
=
0
;
item_ptr
=
dataactx
->
items
;
...
...
wb/lib/wb/src/wb_gcg.cpp
View file @
adff4ce4
...
...
@@ -12635,7 +12635,7 @@ int gcg_comp_m42( gcg_ctx gcgctx, vldh_t_node node)
ldh_tSesContext
ldhses
;
char
*
expression
;
char
*
newstr
;
char
error_line
[
8
0
];
char
error_line
[
20
0
];
int
error_num
;
int
error_line_size
=
sizeof
(
error_line
);
char
pointer_name
[
80
];
...
...
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