mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-06 23:46:04 +02:00
* check that not more than one relsymbol is used
git-svn-id: trunk@9367 -
This commit is contained in:
parent
df2980f0c0
commit
3f57d681e1
@ -296,7 +296,10 @@ Implementation
|
||||
Consume(AS_MINUS);
|
||||
BuildConstSymbolExpression(true,true,false,l,relsym,asmsymtyp);
|
||||
if (relsym<>'') then
|
||||
oper.opr.ref.relsymbol:=current_asmdata.RefAsmSymbol(relsym)
|
||||
if not assigned(oper.opr.ref.relsymbol) then
|
||||
oper.opr.ref.relsymbol:=current_asmdata.RefAsmSymbol(relsym)
|
||||
else
|
||||
Message(asmr_e_invalid_reference_syntax)
|
||||
else
|
||||
dec(oper.opr.ref.offset,l);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user