scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit d2294dbc2dca02cfe9575734c4e4884aef74f43f
parent df87966673d742ff64cdb500a30f49ee69718120
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 18 Jul 2015 18:40:26 +0200

Merge remote-tracking branch 'suckless/master'

Diffstat:
Mcc1/lex.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

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