shithub: scc

Download patch

ref: d2294dbc2dca02cfe9575734c4e4884aef74f43f
parent: df87966673d742ff64cdb500a30f49ee69718120
parent: 7859d396344b2229d933f8ff7efa7fb493f67252
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Jul 18 14:40:26 EDT 2015

Merge remote-tracking branch 'suckless/master'

--- a/cc1/lex.c
+++ b/cc1/lex.c
@@ -166,10 +166,8 @@
 		}
 	}
 
-	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;
 }