mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
* print a "Cannot use local variable or parameters here" error (instead of
internal error) in case of expressions that add two local variables using the [expr1[expr2]] syntax git-svn-id: trunk@38514 -
This commit is contained in:
parent
60245ee995
commit
daf13d8750
@ -933,6 +933,8 @@ Unit Rax86int;
|
||||
if src.opr.ref.segment<>NR_NO then
|
||||
SetSegmentOverride(dest,src.opr.ref.segment);
|
||||
end;
|
||||
OPR_LOCAL:
|
||||
Message(asmr_e_no_local_or_para_allowed);
|
||||
else
|
||||
internalerror(2018030703);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user