mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 16:50:47 +02:00
* fix go32v2 assembler parsing failure introduced in rev 16104
git-svn-id: trunk@16132 -
This commit is contained in:
parent
631811d779
commit
586dd1ee49
@ -384,12 +384,12 @@ Unit Rax86int;
|
||||
c:=current_scanner.asmgetchar;
|
||||
end;
|
||||
end;
|
||||
if is_register(actasmpattern) then
|
||||
exit;
|
||||
if is_asmdirective(actasmpattern) then
|
||||
exit;
|
||||
if is_asmoperator(actasmpattern) then
|
||||
exit;
|
||||
if is_register(actasmpattern) then
|
||||
exit;
|
||||
{ allow spaces }
|
||||
while (c in [' ',#9]) do
|
||||
c:=current_scanner.asmgetchar;
|
||||
@ -1629,7 +1629,7 @@ Unit Rax86int;
|
||||
if (actasmtoken=AS_OFFSET) and
|
||||
(cs_create_pic in current_settings.moduleswitches) then
|
||||
begin
|
||||
Consume(AS_OFFSET);
|
||||
Consume(AS_OFFSET);
|
||||
oper.opr.ref.refaddr:=addr_pic;
|
||||
BuildOperand(oper,false);
|
||||
end
|
||||
@ -1840,9 +1840,7 @@ Unit Rax86int;
|
||||
BuildOperand(oper,true);
|
||||
Consume(AS_RPAREN);
|
||||
oper.setsize(l,true);
|
||||
end
|
||||
else if (actasmtoken = AS_REGISTER) then
|
||||
Message(asmr_e_syn_operand);
|
||||
end;
|
||||
end;
|
||||
|
||||
AS_SEPARATOR,
|
||||
|
Loading…
Reference in New Issue
Block a user