Browse Source

* compilation fixed

git-svn-id: trunk@27565 -
florian 11 years ago
parent
commit
6fd98d604a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/x86/agx86nsm.pas

+ 1 - 0
compiler/x86/agx86nsm.pas

@@ -1106,6 +1106,7 @@ interface
                   end;
                   end;
                { avoid empty files }
                { avoid empty files }
                  LastSecType:=sec_none;
                  LastSecType:=sec_none;
+                 LastSecName:='';
                  while assigned(hp.next) and (tai(hp.next).typ in [ait_cutobject,ait_section,ait_comment]) do
                  while assigned(hp.next) and (tai(hp.next).typ in [ait_cutobject,ait_section,ait_comment]) do
                   begin
                   begin
                     if tai(hp.next).typ=ait_section then
                     if tai(hp.next).typ=ait_section then