Commit 429177ac authored by Christian Hergert's avatar Christian Hergert

signature: resolve array return types from name=""

parent 4df56e4d
......@@ -529,12 +529,16 @@ static GirstParserObject *
girst_array_get_lhs (GirstArray *self)
{
GirstParserObject *obj;
const gchar *name;
g_return_val_if_fail (GIRST_IS_ARRAY (self), NULL);
if ((name = girst_array_get_name (self)))
return girst_resolve (GIRST_PARSER_OBJECT (self), name);
if ((obj = girst_parser_object_first_typed (GIRST_PARSER_OBJECT (self), GIRST_TYPE_TYPE)))
{
const gchar *name = girst_type_get_name (GIRST_TYPE (obj));
name = girst_type_get_name (GIRST_TYPE (obj));
return girst_resolve (obj, name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment