summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-01-05 11:57:48 -0500
committerAdrian Thurston <thurston@complang.org>2015-01-05 11:57:48 -0500
commitdedc10d8fa47f41afb0e700786b374fda944090c (patch)
tree0a18bd50da2a0fe254758a6564f34ab16e95a30f /src/parser.h
parent2b1372cc483637f6bedc511c145ce1682ffad987 (diff)
downloadcolm-dedc10d8fa47f41afb0e700786b374fda944090c.tar.gz
Context renamed to StructDef
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.h b/src/parser.h
index 62254689..7e87a46f 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -24,7 +24,7 @@ struct BaseParser
RegionSetVect regionStack;
NamespaceVect namespaceStack;
- ContextStack structStack;
+ StructStack structStack;
ObjectDef *curLocalFrame;
NameScope *curScope;
@@ -33,7 +33,7 @@ struct BaseParser
bool insideRegion()
{ return regionStack.length() > 0; }
- Context *curStruct()
+ StructDef *curStruct()
{ return structStack.length() == 0 ? 0 : structStack.top(); }
Namespace *curNspace()