summaryrefslogtreecommitdiff
path: root/compiler/parser.pas
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-05 12:52:37 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-05 12:52:37 +0000
commit2580276a9cca82316ddcfe089111cbb8cdd44eaa (patch)
tree69efd0e9c9ea82e378f7e1af5db278e3cbd1f808 /compiler/parser.pas
parent34d4a86b5f06d129c3d87050a388bd93acaccac4 (diff)
downloadfpc-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.pas1
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;