From e92259d4ee0ebbb2e97df3871f999cad7af569f1 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 25 Apr 2008 22:22:28 +0000 Subject: [PATCH] handle lintlibrary output of _Complex types. --- usr.bin/xlint/lint2/emit2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/xlint/lint2/emit2.c b/usr.bin/xlint/lint2/emit2.c index cb93003619ca..3769ef01c586 100644 --- a/usr.bin/xlint/lint2/emit2.c +++ b/usr.bin/xlint/lint2/emit2.c @@ -1,4 +1,4 @@ -/* $NetBSD: emit2.c,v 1.10 2004/09/12 08:58:52 yamt Exp $ */ +/* $NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -34,7 +34,7 @@ #include #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: emit2.c,v 1.10 2004/09/12 08:58:52 yamt Exp $"); +__RCSID("$NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $"); #endif #include "lint2.h" @@ -79,6 +79,8 @@ outtype(type_t *tp) case ENUM: t = 'T'; s = 'e'; break; case STRUCT: t = 'T'; s = 's'; break; case UNION: t = 'T'; s = 'u'; break; + case FCOMPLEX: t = 'X'; s = 's'; break; + case DCOMPLEX: t = 'X'; s = 'u'; break; case FUNC: if (tp->t_args != NULL && !tp->t_proto) { t = 'f';