diff options
author | peter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-11-02 22:19:21 +0000 |
---|---|---|
committer | peter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-11-02 22:19:21 +0000 |
commit | 74b8c13c6c6134513710028f4d5b37f9aaa0607d (patch) | |
tree | 1dcf3a3fa4cdffa516ea29c0332aa617e34f7c31 /compiler/scanner.pas | |
parent | d436926bf473bf38bb0a6a74abccc9c1a12ed5fe (diff) | |
download | fpc-74b8c13c6c6134513710028f4d5b37f9aaa0607d.tar.gz |
* fixed missing reset of inputbuffer after include file or macro
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@5187 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/scanner.pas')
-rw-r--r-- | compiler/scanner.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/scanner.pas b/compiler/scanner.pas index 7e4827ec47..b88523b6b9 100644 --- a/compiler/scanner.pas +++ b/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; |