Преглед на файлове

* check if labsym is assigned before testing if it's used globally

git-svn-id: trunk@15754 -
florian преди 15 години
родител
ревизия
9365eb48c0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/nflw.pas

+ 1 - 1
compiler/nflw.pas

@@ -1830,7 +1830,7 @@ implementation
 
         include(current_procinfo.flags,pi_has_label);
 
-        if labsym.nonlocal then
+        if assigned(labsym) and labsym.nonlocal then        
           include(current_procinfo.flags,pi_has_interproclabel);
 
         if assigned(left) then