Explorar el Código

* fixed missing reset of inputbuffer after include file or macro

git-svn-id: trunk@5187 -
peter hace 19 años
padre
commit
c371d639f4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;