same change: double is emitted as '\0'
This commit is contained in:
parent
93cd306a8f
commit
0ab7d1a4f5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $ */
|
||||
/* $NetBSD: emit2.c,v 1.12 2008/04/26 20:31:45 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(__RCSID) && !defined(lint)
|
||||
__RCSID("$NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $");
|
||||
__RCSID("$NetBSD: emit2.c,v 1.12 2008/04/26 20:31:45 christos Exp $");
|
||||
#endif
|
||||
|
||||
#include "lint2.h"
|
||||
|
@ -80,7 +80,7 @@ outtype(type_t *tp)
|
|||
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 DCOMPLEX: t = 'X'; s = '\0'; break;
|
||||
case FUNC:
|
||||
if (tp->t_args != NULL && !tp->t_proto) {
|
||||
t = 'f';
|
||||
|
|
Loading…
Reference in New Issue