Deleted Added
sdiff udiff text old ( 249575 ) new ( 253726 )
full compact
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 7 unchanged lines hidden (view full) ---

16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma ident "%Z%%M% %I% %E% SMI"
28
29#include <strings.h>
30#include <stdlib.h>
31#include <limits.h>

--- 217 unchanged lines hidden (view full) ---

249 }
250
251 if (ddp->dd_name != NULL || ddp->dd_kind != CTF_K_UNKNOWN)
252 xyerror(D_DECL_COMBO, "invalid type combination\n");
253
254 ddp->dd_kind = kind;
255 ddp->dd_name = name;
256
257 if (name != NULL && strchr(name, '`') != NULL) {
258 xyerror(D_DECL_SCOPE, "D scoping operator may not be used "
259 "in a type name\n");
260 }
261
262 return (dt_decl_check(ddp));
263}
264
265dt_decl_t *
266dt_decl_attr(ushort_t attr)
267{
268 dt_decl_t *ddp = yypcb->pcb_dstack.ds_decl;
269

--- 858 unchanged lines hidden ---