mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-19 15:59:40 +01:00
* allow byte, word, dword, qword as size qualifier
git-svn-id: trunk@1096 -
This commit is contained in:
parent
444667ebc8
commit
8c6316ce2a
@ -710,16 +710,17 @@ Unit Ra386int;
|
||||
while (actasmtoken=AS_DOT) do
|
||||
begin
|
||||
Consume(AS_DOT);
|
||||
if actasmtoken=AS_ID then
|
||||
s:=s+'.'+actasmpattern;
|
||||
if not Consume(AS_ID) then
|
||||
if actasmtoken in [AS_BYTE,AS_ID,AS_WORD,AS_DWORD,AS_QWORD] then
|
||||
s:=s+'.'+actasmpattern
|
||||
else
|
||||
begin
|
||||
Consume(AS_ID);
|
||||
RecoverConsume(true);
|
||||
break;
|
||||
end;
|
||||
end;
|
||||
if not GetRecordOffsetSize(s,offset,size) then
|
||||
Message(asmr_e_building_record_offset);
|
||||
Message(asmr_e_building_record_offset);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user