J.8 Mod Clauses
Syntax
1
Static Semantics
2
3/3
{
AI05-0092-1}
for r use
record at mod a;
...
end record;
4
is equivalent to:
5
for r'Alignment use a;
for r use
record
...
end record;
5.a
Reason: The preferred syntax for specifying
the alignment of an entity is an
attribute_definition_clause
specifying the Alignment attribute. Therefore, the special-purpose
mod_clause
syntax is now obsolete.
5.b
Wording Changes from Ada 83
5.c
Ada 2005 and 2012 Editions sponsored in part by Ada-Europe