scc

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

commit 7664fa6cfcf646b2df07649c2c62ae38fb88a750
parent edba8c3a91301b4fcf0ecd0260bd56fa285038d4
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 10 Sep 2017 17:23:08 +0200

[as] Fix returned value in section

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

diff --git a/as/emit.c b/as/emit.c @@ -118,7 +118,7 @@ section(char *name) sec->next = headp; sec->flags = SRELOC|SREAD|SWRITE|SFILE; } - cursec = sec; + return cursec = sec; } void