commit 9c8462aa2508d754ae0d9e1dcddcd7883ec0b129
parent 1145b68f8535abf344d36cf9cd4d4f1283f42aa6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 9 Feb 2012 21:31:13 +0100
Removing trailing white spaces
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/decl.c b/decl.c
@@ -94,7 +94,7 @@ struct type *specifier(void)
{
static char sign, sclass, tqlf, nt;
struct type *t = NULL;
-
+
tqlf = sign = sclass = 0;
for (;;) {
switch (gettok()) {
@@ -133,7 +133,7 @@ struct type *specifier(void)
}
check_type:
if (nt == F_LONG) {
- if (t == NULL ||
+ if (t == NULL ||
t == T_INT || t == T_UINT || t == T_LONG) {
/* nothing */;
} else if (t == T_LONG || t == T_ULONG) {
@@ -152,7 +152,7 @@ struct type *specifier(void)
} if (nt == F_VOID && sign != 0) {
goto incorrect_sign;
} if (nt == F_CHAR && sign == 0) {
- t = T_UCHAR; /* char by default is unsigned */
+ t = T_UCHAR; /* char by default is unsigned */
} else if (!(t = types[nt][sign == UNSIGNED])) {
goto incorrect_sign;
}
diff --git a/types.c b/types.c
@@ -74,13 +74,13 @@ void ptype(register struct type *t)
sign = (t->sign) ? "signed" : "unsigned";
switch (t->btype) {
- case INT: type = "int"; break;
- case CHAR: type = "char"; break;
+ case INT: type = "int"; break;
+ case CHAR: type = "char"; break;
case FLOAT: type = "float"; break;
- case LONG: type = "long"; break;
+ case LONG: type = "long"; break;
case LLONG: type = "long long"; break;
case SHORT: type = "short"; break;
- case VOID: type = "void"; break;
+ case VOID: type = "void"; break;
case DOUBLE: type = "double"; break;
case LDOUBLE: type = "long double"; break;
default: