Browse Source

* fixed missing lineinfo after removing inlining_procedure (missed a "not" in
a condition)

git-svn-id: trunk@6270 -

Jonas Maebe 18 years ago
parent
commit
9a75d308a8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/pass_2.pas

+ 1 - 0
compiler/pass_2.pas

@@ -161,6 +161,7 @@ implementation
             oldcodegenerror:=codegenerror;
             oldcodegenerror:=codegenerror;
             oldlocalswitches:=current_settings.localswitches;
             oldlocalswitches:=current_settings.localswitches;
             oldpos:=current_filepos;
             oldpos:=current_filepos;
+            current_filepos:=p.fileinfo;
             current_settings.localswitches:=p.localswitches;
             current_settings.localswitches:=p.localswitches;
             codegenerror:=false;
             codegenerror:=false;
 {$ifdef EXTDEBUG}
 {$ifdef EXTDEBUG}