116
116
oper.opr.ref.refaddr := addr_highest
118
118
Message(asmr_e_invalid_reference_syntax);
120
{ darwin/ppc64's relocation symbols are 32 bits }
121
if (target_info.system = system_powerpc64_darwin) and
122
(not (oper.opr.ref.refaddr in [addr_no, addr_low, addr_higha])) then
123
Message(asmr_e_invalid_reference_syntax);
204
{ add a constant expression? }
205
if (actasmtoken = AS_PLUS) then
207
l := BuildConstExpression(true, true);
210
inc(oper.opr.val, l);
212
inc(oper.opr.localsymofs, l);
214
inc(oper.opr.ref.offset, l);
216
internalerror(200309202);
215
{ add a constant expression? }
216
l:=BuildConstExpression(true,true);
221
inc(oper.opr.localsymofs,l);
223
inc(oper.opr.ref.offset,l);
225
internalerror(200309202);
231
BuildConstSymbolExpression(false,true,false,l,relsym,asmsymtyp);
234
if (oper.opr.typ = OPR_REFERENCE) then
235
oper.opr.ref.relsymbol:=current_asmdata.RefAsmSymbol(relsym)
238
Message(asmr_e_invalid_reference_syntax);
239
RecoverConsume(false);
248
dec(oper.opr.localsymofs,l);
250
dec(oper.opr.ref.offset,l);
252
internalerror(2007092601);
219
257
Consume(AS_RPAREN);
220
258
if actasmtoken = AS_AT then