scc

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

commit e92b066bb72448c50ece30f7e02022b6524c8501
parent 9051e2b39dc3488b33c454ec375465471f3c3eb6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 18 Jul 2015 11:04:31 +0200

lex: fix line count, char *line -> unsigned short nline

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

diff --git a/cc1/lex.c b/cc1/lex.c @@ -168,7 +168,7 @@ repeat: if (bp == lim) { error("line %u too big in file '%s'", - input->line, input->fname); + input->nline, input->fname); } *bp = '\0'; return 1;