summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-11-08 11:14:30 -0500
committerAdrian Thurston <thurston@complang.org>2014-11-08 11:14:30 -0500
commit5bb09304fd15854cd5b3f7d6acc3560385085033 (patch)
tree1c4f05f38c1b71f3f65cb185c63fc5459bae0138 /src/parser.cc
parentc2d3aa32ae6b4eda94630744f5702723d0f0733c (diff)
downloadcolm-5bb09304fd15854cd5b3f7d6acc3560385085033.tar.gz
cleanup in the TypeRef type enum
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.cc b/src/parser.cc
index 0ea7ecc5..83466759 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -303,7 +303,7 @@ void BaseParser::literalDef( const InputLoc &loc, const String &data,
void BaseParser::addArgvList()
{
TypeRef *typeRef = TypeRef::cons( internal, pd->uniqueTypeStr );
- pd->argvTypeRef = TypeRef::cons( internal, TypeRef::List2, 0, typeRef, 0 );
+ pd->argvTypeRef = TypeRef::cons( internal, TypeRef::List, 0, typeRef, 0 );
}
ObjectDef *BaseParser::blockOpen()
@@ -557,7 +557,7 @@ LangExpr *BaseParser::parseCmd( const InputLoc &loc, bool tree, bool stop,
/* The typeref for the parser. */
TypeRef *parserTypeRef = TypeRef::cons( loc,
- TypeRef::Parser, 0, typeRef, 0 );
+ TypeRef::ParserObj, 0, typeRef, 0 );
ParserText *parserText = ParserText::cons( loc, curNspace(), list );
pd->parserTextList.append( parserText );