mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-26 14:54:19 +08:00
produce a more informative error message when parsing _Complex
This commit is contained in:
parent
878fcccdb2
commit
7d76420857
2
tccgen.c
2
tccgen.c
@ -4533,6 +4533,8 @@ static int parse_btype(CType *type, AttributeDef *ad, int ignore_label)
|
||||
case TOK_BOOL:
|
||||
u = VT_BOOL;
|
||||
goto basic_type;
|
||||
case TOK_COMPLEX:
|
||||
tcc_error("_Complex is not yet supported");
|
||||
case TOK_FLOAT:
|
||||
u = VT_FLOAT;
|
||||
goto basic_type;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user