aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decl.c b/decl.c
index a0e68b0..3aa720a 100644
--- a/decl.c
+++ b/decl.c
@@ -332,10 +332,10 @@ declspecs(struct scope *s, enum storageclass *sc, enum funcspec *fs, int *align)
next();
break;
case T_COMPLEX:
- fatal("_Complex is not yet supported");
+ error(&tok.loc, "_Complex is not yet supported");
break;
case T_ATOMIC:
- fatal("_Atomic is not yet supported");
+ error(&tok.loc, "_Atomic is not yet supported");
break;
case TSTRUCT:
case TUNION: