diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-09-05 12:52:37 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-09-05 12:52:37 +0000 |
commit | 2580276a9cca82316ddcfe089111cbb8cdd44eaa (patch) | |
tree | 69efd0e9c9ea82e378f7e1af5db278e3cbd1f808 /compiler/parser.pas | |
parent | 34d4a86b5f06d129c3d87050a388bd93acaccac4 (diff) | |
download | fpc-2580276a9cca82316ddcfe089111cbb8cdd44eaa.tar.gz |
* Change Field passing type of FreeLocalVerbosity parameter
to by value to avoid passing an unaligned pointer.
* Adapt code calling FreeLocalVerbosity to reset
currrent_settings.pmessage to nil afterwards.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@18978 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/parser.pas')
-rw-r--r-- | compiler/parser.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/parser.pas b/compiler/parser.pas index 266878a669..533c99e5f2 100644 --- a/compiler/parser.pas +++ b/compiler/parser.pas @@ -522,6 +522,7 @@ implementation set_current_module(olddata^.old_current_module); FreeLocalVerbosity(current_settings.pmessage); + current_settings.pmessage:=nil; dispose(olddata); end; |