mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
+ support for unaligned as lvalue
git-svn-id: trunk@3352 -
This commit is contained in:
parent
0780616dee
commit
600af6c9d0
@ -1174,8 +1174,12 @@ implementation
|
|||||||
end;
|
end;
|
||||||
inlinen :
|
inlinen :
|
||||||
begin
|
begin
|
||||||
if (valid_const in opts) and
|
if ((valid_const in opts) and
|
||||||
(tinlinenode(hp).inlinenumber in [in_typeof_x]) then
|
(tinlinenode(hp).inlinenumber in [in_typeof_x]))
|
||||||
|
{$ifdef SUPPORT_UNALIGNED}
|
||||||
|
or (tinlinenode(hp).inlinenumber in [in_unaligned_x])
|
||||||
|
{$endif SUPPORT_UNALIGNED}
|
||||||
|
then
|
||||||
result:=true
|
result:=true
|
||||||
else
|
else
|
||||||
if report_errors then
|
if report_errors then
|
||||||
|
Loading…
Reference in New Issue
Block a user