aboutsummaryrefslogtreecommitdiff
path: root/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'expr.c')
-rw-r--r--expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/expr.c b/expr.c
index 6eb1b3a..955b73f 100644
--- a/expr.c
+++ b/expr.c
@@ -184,7 +184,7 @@ exprassign(struct expr *e, struct type *t)
switch (t->kind) {
case TYPEBOOL:
if (!(et->prop & PROPARITH) && et->kind != TYPEPOINTER)
- error(&tok.loc, "assignment to _Bool must be from arithmetic or pointer type");
+ error(&tok.loc, "assignment to bool must be from arithmetic or pointer type");
break;
case TYPEPOINTER:
if (nullpointer(e))
@@ -1056,7 +1056,7 @@ unaryexpr(struct scope *s)
t = NULL;
e = unaryexpr(s);
} else {
- error(&tok.loc, "expected ')' after '_Alignof'");
+ error(&tok.loc, "expected ')' after 'alignof'");
return NULL; /* unreachable */
}
if (!t) {