commit 7859d396344b2229d933f8ff7efa7fb493f67252
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Sat Jul 18 13:59:26 2015 +0200
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Sat Jul 18 13:59:26 2015 +0200

    error() already contains linenr + filename so remove it

diff --git a/cc1/lex.c b/cc1/lex.c
index 14f1a74..85f27a4 100644
--- 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->nline, input->fname);
-       }
+       if (bp == lim)
+               error("line too long");
        *bp = '\0';
        return 1;
 }

Reply via email to