diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c index 061bc7446ce4..8e0d0dc52275 100644 --- a/usr.bin/xlint/lint1/decl.c +++ b/usr.bin/xlint/lint1/decl.c @@ -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 #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 @@ -757,6 +757,7 @@ deftyp(void) break; case DOUBLE: if (l == LONG) { + case LDOUBLE: l = NOTSPEC; t = LDOUBLE; if (tflag) @@ -778,7 +779,7 @@ deftyp(void) case LCOMPLEX: break; default: - LERROR("deftyp()"); + LERROR("deftyp(%s)", basictyname(t)); } if (t != INT && t != CHAR && (s != NOTSPEC || l != NOTSPEC)) { dcs->d_terr = 1;