summaryrefslogtreecommitdiff
path: root/compiler/symbase.pas
diff options
context:
space:
mode:
authorpeter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-11-11 09:05:39 +0000
committerpeter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-11-11 09:05:39 +0000
commit8083305dfe36c0b8fccff84b06a3f3c061192808 (patch)
tree4ee29ee7b211ff5fe58bdc682aa4eaa7a5d207a3 /compiler/symbase.pas
parent0ac389d55387e9a73d6c4e8b1fe866f25349a4a5 (diff)
downloadfpc-8083305dfe36c0b8fccff84b06a3f3c061192808.tar.gz
* split tvisibility from tsymoptions
* replace current_object_option with symtable.currentvisibility git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@12048 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/symbase.pas')
-rw-r--r--compiler/symbase.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/symbase.pas b/compiler/symbase.pas
index 0c093e07ac..c6719e13d8 100644
--- a/compiler/symbase.pas
+++ b/compiler/symbase.pas
@@ -95,6 +95,7 @@ interface
defowner : TDefEntry; { for records and objects }
moduleid : longint;
refcount : smallint;
+ currentvisibility : tvisibility;
{ level of symtable, used for nested procedures }
symtablelevel : byte;
symtabletype : TSymtabletype;
@@ -220,6 +221,7 @@ implementation
DefList:=TFPObjectList.Create(true);
SymList:=TFPHashObjectList.Create(true);
refcount:=1;
+ currentvisibility:=vis_public;
end;