From 7e3ad7e7968cd4d792abdbda5b525cf53f1b8a74 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 17 Feb 2004 19:37:16 +0000 Subject: [PATCH] * No longer treat threadvar is normakl var if threading off --- compiler/pdecl.pas | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/pdecl.pas b/compiler/pdecl.pas index 8ac50d7b02..fe27c76eb9 100644 --- a/compiler/pdecl.pas +++ b/compiler/pdecl.pas @@ -616,10 +616,7 @@ implementation consume(_THREADVAR); if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then message(parser_e_threadvars_only_sg); -{ if not(cs_threading in aktmoduleswitches) and - not(cs_compilesystem in aktmoduleswitches) then - Comment(V_Error,'Threading is turned off');} - read_var_decs(false,false,cs_threading in aktmoduleswitches); + read_var_decs(false,false,true); end; @@ -682,7 +679,10 @@ implementation end. { $Log$ - Revision 1.80 2004-02-17 17:38:11 daniel + Revision 1.81 2004-02-17 19:37:16 daniel + * No longer treat threadvar is normakl var if threading off + + Revision 1.80 2004/02/17 17:38:11 daniel * Enable threadvars for all modes Revision 1.79 2004/02/12 15:54:03 peter