scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit f36a56a6613493f8e19bf0c8449ce1fd001e9002
parent 748f54bc4e52a7ed33079759f71f2025a4de8405
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 16 Jun 2016 12:05:27 +0200

[cc2] change return type of eval()

If we do not have anything to return then it is better to declare
it as void.

Diffstat:
Mcc2/parser.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/parser.c b/cc2/parser.c @@ -284,7 +284,7 @@ ternary(char *token, union tokenop u) push(ask); } -static Node * +static void eval(char *tok) { struct decoc *dp;