Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 handle LDOUBLE
details: https://anonhg.NetBSD.org/src/rev/b18bfa56965e
branches: trunk
changeset: 795543:b18bfa56965e
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 18 00:20:37 2014 +0000
description:
handle LDOUBLE
diffstat:
usr.bin/xlint/lint1/decl.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r bd926dd7ff0b -r b18bfa56965e usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c Thu Apr 17 23:15:27 2014 +0000
+++ b/usr.bin/xlint/lint1/decl.c Fri Apr 18 00:20:37 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.58 2013/12/15 03:43:37 christos Exp $ */
+/* $NetBSD: decl.c,v 1.59 2014/04/18 00:20:37 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.58 2013/12/15 03:43:37 christos Exp $");
+__RCSID("$NetBSD: decl.c,v 1.59 2014/04/18 00:20:37 christos Exp $");
#endif
#include <sys/param.h>
@@ -757,6 +757,7 @@
break;
case DOUBLE:
if (l == LONG) {
+ case LDOUBLE:
l = NOTSPEC;
t = LDOUBLE;
if (tflag)
@@ -778,7 +779,7 @@
case LCOMPLEX:
break;
default:
- LERROR("deftyp()");
+ LERROR("deftyp(%s)", basictyname(t));
}
if (t != INT && t != CHAR && (s != NOTSPEC || l != NOTSPEC)) {
dcs->d_terr = 1;
Home |
Main Index |
Thread Index |
Old Index