mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 21:29:42 +02:00
* don't create the synthetic routines if any errors occurred, since that
will likely only cause more errors (or, in the worst case, internal errors) git-svn-id: trunk@22957 -
This commit is contained in:
parent
c4a55f5481
commit
bc6f078247
@ -938,6 +938,10 @@ implementation
|
|||||||
{ only necessary for the JVM target currently }
|
{ only necessary for the JVM target currently }
|
||||||
if not (target_info.system in systems_jvm) then
|
if not (target_info.system in systems_jvm) then
|
||||||
exit;
|
exit;
|
||||||
|
{ skip if any errors have occurred, since then this can only cause more
|
||||||
|
errors }
|
||||||
|
if ErrorCount<>0 then
|
||||||
|
exit;
|
||||||
replace_scanner('synthetic_impl',sstate);
|
replace_scanner('synthetic_impl',sstate);
|
||||||
add_synthetic_method_implementations_for_st(st);
|
add_synthetic_method_implementations_for_st(st);
|
||||||
for i:=0 to st.deflist.count-1 do
|
for i:=0 to st.deflist.count-1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user