diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-07 13:21:08 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-09-07 13:21:08 -0700 |
commit | 2f27b9307d89404a868d5a2cf274c80703952b9a (patch) | |
tree | 7afbf286ed9f52c6424b082916a5099fd5b14340 | |
parent | 97c8fc5358bbecb6e2452425861e6cd5a5c93f91 (diff) | |
download | cproc-2f27b9307d89404a868d5a2cf274c80703952b9a.tar.xz |
decl: Include location for _Complex/_Atomic error messages
-rw-r--r-- | decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |