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.EclipsePlug-ins
Commits
39a3e4a8
Commit
39a3e4a8
authored
Oct 12, 2017
by
Kristof Szabados
Committed by
Gerrit Code Review
Oct 12, 2017
Browse files
Merge "fixed generatecode in array_type"
parents
9c4dec98
7ad6f0ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.eclipse.titan.designer/src/org/eclipse/titan/designer/AST/TTCN3/types/Array_Type.java
View file @
39a3e4a8
...
...
@@ -962,7 +962,7 @@ public final class Array_Type extends Type implements IReferenceableElement {
source
.
append
(
MessageFormat
.
format
(
"public static class {0} extends {1} '{' \n"
,
ownName
,
valueName
));
source
.
append
(
MessageFormat
.
format
(
"public {0}() '{'\n"
,
ownName
));
source
.
append
(
MessageFormat
.
format
(
"super({0}.class);\n"
,
elementName
));
source
.
append
(
MessageFormat
.
format
(
"super({0}.class
, {1},{2}
);\n"
,
elementName
,
dimension
.
getSize
(),
dimension
.
getOffset
()
));
source
.
append
(
"}\n"
);
source
.
append
(
MessageFormat
.
format
(
"public {0}({0} otherValue) '{'\n"
,
ownName
));
source
.
append
(
"super(otherValue);\n"
);
...
...
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