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

* fixed missing reset of inputbuffer after include file or macro

git-svn-id: trunk@5187 -
peter преди 19 години
родител
ревизия
c371d639f4
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      compiler/scanner.pas

+ 1 - 0
compiler/scanner.pas

@@ -1793,6 +1793,7 @@ In case not, the value returned can be arbitrary.
 
     procedure tscannerfile.restoreinputfile;
       begin
+        inputbuffer:=inputfile.buf;
         inputpointer:=inputfile.saveinputpointer;
         lastlinepos:=inputfile.savelastlinepos;
         line_no:=inputfile.saveline_no;