Browse Source

* treat a missing genericdef with no symname set as an internal error

git-svn-id: trunk@43587 -
svenbarth 5 years ago
parent
commit
5b71ba2a9b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      compiler/pgenutil.pas

+ 1 - 2
compiler/pgenutil.pas

@@ -488,8 +488,7 @@ uses
               )
               )
             ) then
             ) then
           begin
           begin
-            errorrecovery:=true;
-            result:=generrordef;
+            internalerror(2019112401);
           end;
           end;
 
 
         { Only parse the parameters for recovery or
         { Only parse the parameters for recovery or