From be3e5bf912deb2cbc2aca6228091dbb615d17ce6 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 18 Jan 2015 09:18:52 -0500 Subject: support recursive list elements references The search for list_el invoked a recursive evaluation of the types. --- src/parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.cc') diff --git a/src/parser.cc b/src/parser.cc index bd3f021e..1b8883de 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -42,7 +42,7 @@ void BaseParser::listElDef( String name ) TypeRef *elTr = TypeRef::cons( InputLoc(), TypeRef::ListEl, 0, objTr, 0 ); ObjectField *of = ObjectField::cons( InputLoc(), - ObjectField::UserFieldType, elTr, name ); + ObjectField::GenericElementType, elTr, name ); structVarDef( InputLoc(), of ); } -- cgit v1.2.1