Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
517a747a
Commit
517a747a
authored
Aug 08, 2013
by
yoogx
Browse files
* Minor reformatting
parent
b164a033
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-backends-po_hi_ada-mapping.adb
View file @
517a747a
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2006-2009 Telecom ParisTech, 2010-201
2
ESA & ISAE. --
-- Copyright (C) 2006-2009 Telecom ParisTech, 2010-201
3
ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
...
...
@@ -1529,7 +1529,8 @@ package body Ocarina.Backends.PO_HI_Ada.Mapping is
return
16
;
end
;
when
Data_String
|
Data_Wide_String
=>
when
Data_String
|
Data_Wide_String
=>
declare
Dimension
:
constant
ULL_Array
:=
Get_Dimension
(
E
);
L
:
constant
Unsigned_Long_Long
...
...
@@ -1543,6 +1544,7 @@ package body Ocarina.Backends.PO_HI_Ada.Mapping is
return
Next_Multiple
(
Elementary_Type_Alignments
(
Data_Representation
),
Result
);
end
;
when
Data_Array
=>
declare
Dimension
:
constant
ULL_Array
:=
Get_Dimension
(
E
);
...
...
@@ -1569,6 +1571,7 @@ package body Ocarina.Backends.PO_HI_Ada.Mapping is
return
Next_Multiple
(
Elementary_Type_Alignments
(
Data_Representation
),
Result
);
end
;
when
Data_Struct
=>
declare
Elt
:
Node_Id
:=
AIN
.
First_Node
(
Subcomponents
(
E
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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