summaryrefslogtreecommitdiff
path: root/compiler/pbase.pas
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-10-30 18:02:58 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2006-10-30 18:02:58 +0000
commitf09b6097b42f4daef70567cd245b08ef7c8d6a19 (patch)
tree3de8ae3f213955407969d007f4d21f07cd759ab4 /compiler/pbase.pas
parent6327f95808dee50154e8a37d1daf3ace692117f2 (diff)
downloadfpc-f09b6097b42f4daef70567cd245b08ef7c8d6a19.tar.gz
* settings refactored
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@5094 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/pbase.pas')
-rw-r--r--compiler/pbase.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/pbase.pas b/compiler/pbase.pas
index cb1c6f592e..c744cdb225 100644
--- a/compiler/pbase.pas
+++ b/compiler/pbase.pas
@@ -106,7 +106,7 @@ implementation
Message1(sym_e_id_not_found,s);
{ show a fatal that you need -S2 or -Sd, but only
if we just parsed the a token that has m_class }
- if not(m_class in aktmodeswitches) and
+ if not(m_class in current_settings.modeswitches) and
(Upper(s)=pattern) and
(tokeninfo^[idtoken].keyword=m_class) then
Message(parser_f_need_objfpc_or_delphi_mode);
@@ -266,7 +266,7 @@ implementation
function try_consume_hintdirective(var symopt:tsymoptions):boolean;
begin
try_consume_hintdirective:=false;
- if not(m_hintdirective in aktmodeswitches) then
+ if not(m_hintdirective in current_settings.modeswitches) then
exit;
repeat
case idtoken of