From c158a685a7bad2c4d06b4c160704b6913f5e70bf Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sat, 6 Jun 2015 14:15:00 -0400 Subject: some nameing cleanup around list and list el --- src/parser.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parser.cc') diff --git a/src/parser.cc b/src/parser.cc index 21e7652b..5d4775aa 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -57,7 +57,7 @@ void BaseParser::listElDef( String name ) String id = curStruct()->objectDef->name; RepeatType repeatType = RepeatNone; TypeRef *objTr = TypeRef::cons( InputLoc(), nspaceQual, id, repeatType ); - TypeRef *elTr = TypeRef::cons( InputLoc(), TypeRef::ListEl, 0, objTr, 0 ); + TypeRef *elTr = TypeRef::cons( InputLoc(), TypeRef::ListPtrs, 0, objTr, 0 ); ObjectField *of = ObjectField::cons( InputLoc(), ObjectField::GenericElementType, elTr, name ); @@ -88,7 +88,7 @@ void BaseParser::mapElDef( String name, TypeRef *keyType ) NamespaceQual *nspaceQual = NamespaceQual::cons( curNspace() ); String id = curStruct()->objectDef->name; TypeRef *objTr = TypeRef::cons( InputLoc(), nspaceQual, id, RepeatNone ); - TypeRef *elTr = TypeRef::cons( InputLoc(), TypeRef::MapEl, 0, objTr, keyType ); + TypeRef *elTr = TypeRef::cons( InputLoc(), TypeRef::MapPtrs, 0, objTr, keyType ); ObjectField *of = ObjectField::cons( InputLoc(), ObjectField::GenericElementType, elTr, name ); @@ -452,7 +452,7 @@ void BaseParser::addArgvList() emptyNspaceQual(), name ); pd->argvTypeRef = TypeRef::cons( internal, - TypeRef::ValueList, 0, elType, valType ); + TypeRef::List, 0, elType, valType ); } ObjectDef *BaseParser::blockOpen() -- cgit v1.2.1