commit 976485b2808fd339d5e62f1a9e8c05fe9733afde
parent f8c2740124b6faac1a1a39074e91073fd81c9362
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 20 Sep 2017 22:34:36 +0200
[as] Small cosmetic changes
Diffstat:
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/as/expr.c b/as/expr.c
@@ -273,7 +273,6 @@ primary(void)
break;
default:
unexpected();
- return NULL;
}
return np;
@@ -296,7 +295,8 @@ mul(void)
next();
binary(op, np, primary());
break;
- default: return np;
+ default:
+ return np;
}
}
}
@@ -315,7 +315,8 @@ add(void)
next();
np = binary(op, np, mul());
break;
- default: return np;
+ default:
+ return np;
}
}
}
@@ -337,7 +338,8 @@ relational(void)
next();
np = binary(op, np, add());
break;
- default: return np;
+ default:
+ return np;
}
}
}
@@ -379,7 +381,8 @@ or(void)
next();
np = binary(op, np, and());
break;
- default: return np;
+ default:
+ return np;
}
}
}