allow TSetOf to be sequence types too
This commit is contained in:
@@ -47,8 +47,8 @@ generate_type_seq (const Symbol *s)
|
|||||||
while(type->type == TTag)
|
while(type->type == TTag)
|
||||||
type = type->subtype;
|
type = type->subtype;
|
||||||
|
|
||||||
if (type->type != TSequenceOf) {
|
if (type->type != TSequenceOf && type->type != TSetOf) {
|
||||||
printf("%s not seq of %d\n", s->name, (int)type->type);
|
fprintf(stderr, "%s not seq of %d\n", s->name, (int)type->type);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user