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
2e16ccb8
Commit
2e16ccb8
authored
Sep 04, 2018
by
Kristof Szabados
Committed by
Gerrit Code Review
Sep 04, 2018
Browse files
Merge "Fixed type descriptor generation fault caused by OER changes (bug 538482)"
parents
d79c3483
eae1326e
Changes
3
Hide whitespace changes
Inline
Side-by-side
compiler2/Type.cc
View file @
2e16ccb8
...
...
@@ -7418,6 +7418,7 @@ namespace Common {
if
(
t
->
is_tagged
()
||
t
->
rawattrib
||
t
->
textattrib
||
t
->
jsonattrib
||
(
!
t
->
is_asn1
()
&&
t
->
hasEncodeAttr
(
get_encoding_name
(
CT_JSON
)))
||
(
t
->
xerattrib
&&
!
t
->
xerattrib
->
empty
()
)
||
(
asn1_xer
&&
t
->
is_asn1
()
&&
t
->
ownertype
!=
OT_RECORD_OF
&&
t
->
ownertype
!=
OT_REF_SPEC
)
||
(
t
->
oerattrib
&&
!
t
->
oerattrib
->
empty
()
&&
t
->
is_asn1
()))
{
return
t
->
get_genname_own
(
p_scope
);
...
...
compiler2/ttcn3/OerAST.cc
View file @
2e16ccb8
...
...
@@ -13,7 +13,7 @@
OerAST
::
OerAST
()
:
bytes
(
-
1
),
signed_
(
fals
e
),
signed_
(
tru
e
),
length
(
-
1
),
extendable
(
false
),
nr_of_root_comps
(
0
),
...
...
@@ -33,6 +33,6 @@ OerAST::~OerAST() {
}
bool
OerAST
::
empty
()
const
{
return
bytes
==
-
1
&&
signed_
==
false
&&
length
==
-
1
&&
return
bytes
==
-
1
&&
signed_
&&
length
==
-
1
&&
extendable
==
false
&&
nr_of_root_comps
==
0
&&
ext_attr_groups
.
empty
()
&&
p
.
empty
();
}
regression_test/templateOctetstr/.gitignore
View file @
2e16ccb8
...
...
@@ -4,4 +4,6 @@ TtemplateOctetstr_se[qt].cc
TtemplateOctetstr_se[qt]of.cc
TtemplateOctetstr_union.cc
TtemplateOctetstr.hh
TtemplateOctetstringDecmatch*.cc
TtemplateOctetstringDecmatch*.hh
templateOctetstr.log
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