Correct spelling mistakes.
This commit is contained in:
parent
14cb72f912
commit
fe42b8653d
105 changed files with 212 additions and 212 deletions
|
@ -401,7 +401,7 @@ Tree addrof(Tree p) {
|
|||
Symbol t1 = q->u.sym;
|
||||
q->u.sym = 0;
|
||||
q = idtree(t1);
|
||||
/* fall thru */
|
||||
/* fall through */
|
||||
}
|
||||
case INDIR:
|
||||
if (p == q)
|
||||
|
|
|
@ -80,7 +80,7 @@ int fatal(const char *name, const char *fmt, int n) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* printtoken - print current token preceeded by a space */
|
||||
/* printtoken - print current token preceded by a space */
|
||||
static void printtoken(void) {
|
||||
switch (t) {
|
||||
case ID: fprint(stderr, " `%s'", token); break;
|
||||
|
|
|
@ -292,7 +292,7 @@ static void dumptree(Node p) {
|
|||
dumptree(p->kids[0]);
|
||||
break;
|
||||
}
|
||||
/* else fall thru */
|
||||
/* else fall through */
|
||||
case EQ: case NE: case GT: case GE: case LE: case LT:
|
||||
case ASGN: case BOR: case BAND: case BXOR: case RSH: case LSH:
|
||||
case ADD: case SUB: case DIV: case MUL: case MOD:
|
||||
|
|
|
@ -40,7 +40,7 @@ static int genconst(Tree e, int def) {
|
|||
if (isarith(e->type))
|
||||
error("cast from `%t' to `%t' is illegal in constant expressions\n",
|
||||
e->kids[0]->type, e->type);
|
||||
/* fall thru */
|
||||
/* fall through */
|
||||
case CVI: case CVU: case CVF:
|
||||
e = e->kids[0];
|
||||
continue;
|
||||
|
|
|
@ -86,7 +86,7 @@ static Tree root1(Tree p) {
|
|||
warning("reference to `%t' elided\n", p->type);
|
||||
if (isptr(p->kids[0]->type) && isvolatile(p->kids[0]->type->type))
|
||||
warning("reference to `volatile %t' elided\n", p->type);
|
||||
/* fall thru */
|
||||
/* fall through */
|
||||
case CVI: case CVF: case CVU: case CVP:
|
||||
case NEG: case BCOM: case FIELD:
|
||||
if (warn++ == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue