Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
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
Libraries
asn1c
Commits
6713bcb0
Commit
6713bcb0
authored
7 years ago
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0..MAX constraint is positive for OER
parent
5994072b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
libasn1compiler/asn1c_C.c
libasn1compiler/asn1c_C.c
+3
-0
No files found.
libasn1compiler/asn1c_C.c
View file @
6713bcb0
...
...
@@ -2147,6 +2147,9 @@ emit_single_member_OER_constraint_value(arg_t *arg, asn1cnst_range_t *range) {
if
(
range
->
incompatible
||
range
->
not_OER_visible
)
{
OUT
(
"{ 0, 0 }"
);
}
else
if
(
range
->
left
.
type
==
ARE_VALUE
&&
range
->
left
.
value
>=
0
&&
range
->
right
.
type
==
ARE_MAX
)
{
OUT
(
"{ 0, 1 }"
);
}
else
if
(
range
->
left
.
type
==
ARE_VALUE
&&
range
->
right
.
type
==
ARE_VALUE
)
{
asn1c_integer_t
lb
=
range
->
left
.
value
;
...
...
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