Sfoglia il codice sorgente

* patch by rasberryrabbit to resolve #40761

florian 1 anno fa
parent
commit
1e3865a187
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/nbas.pas

+ 1 - 1
compiler/nbas.pas

@@ -808,7 +808,7 @@ implementation
                           p := TStatementNode(n.Next);
                           while Assigned(p) do
                             begin
-                              if (TStatementNode(p).left.nodetype in [labeln, asmn, tempcreaten, tempdeleten]) then
+                              if (TStatementNode(p).left.nodetype in [labeln, asmn, tempcreaten, tempdeleten, blockn]) then
                                 Break;
 
                               last := p;