Module Name: src
Committed By: christos
Date: Tue Oct 13 16:09:34 UTC 2015
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
more descriptive aborts
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/xlint/lint1/cgram.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/lint1/cgram.y
diff -u src/usr.bin/xlint/lint1/cgram.y:1.71 src/usr.bin/xlint/lint1/cgram.y:1.72
--- src/usr.bin/xlint/lint1/cgram.y:1.71 Tue Jul 28 13:56:56 2015
+++ src/usr.bin/xlint/lint1/cgram.y Tue Oct 13 12:09:33 2015
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.71 2015/07/28 17:56:56 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.72 2015/10/13 16:09:33 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.71 2015/07/28 17:56:56 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.72 2015/10/13 16:09:33 christos Exp $");
#endif
#include <stdlib.h>
@@ -1972,7 +1972,7 @@ idecl(sym_t *decl, int initflg, sbuf_t *
case EXTERN:
if (renaming != NULL) {
if (decl->s_rename != NULL)
- LERROR("idecl()");
+ LERROR("idecl(rename)");
s = getlblk(1, renaming->sb_len + 1);
(void)memcpy(s, renaming->sb_name, renaming->sb_len + 1);
@@ -2000,7 +2000,7 @@ idecl(sym_t *decl, int initflg, sbuf_t *
decl1loc(decl, initflg);
break;
default:
- LERROR("idecl()");
+ LERROR("idecl(%d)", dcs->d_ctx);
}
if (initflg && !initerr)