christos
4de23ec610
fix member list deallocation; remove #if 0'ed code.
2015-07-28 17:55:13 +00:00
christos
caa0961bff
Always set i_brace in the struct case.
...
Cleanup some debugging.
2014-11-20 20:49:06 +00:00
christos
8a20351779
Don't free memory; it is used later.
2014-04-17 16:29:26 +00:00
christos
f07e30ff20
change initialization from non const of regular variables to c99 instead of
...
gnu since c99 now has it.
2009-10-02 18:17:16 +00:00
christos
fec2a3517e
fix "long double" type recognition which broke with the complex changes.
2008-04-26 16:14:23 +00:00
ad
c89ec7afee
pushinit(): fix a use-after-free bug.
2007-01-20 21:16:23 +00:00
christos
2bd08fcc54
in the same way that we need an extra level for arrays, do the same for struct.
2006-10-15 18:18:54 +00:00
christos
3e006796cf
previous fix broke array initializers.
2006-10-15 15:08:20 +00:00
christos
e578e35910
Fix c99 initialization issues. Now the regression tests work.
2006-10-14 21:08:50 +00:00
jmc
b2f782612f
Completely rework how tools/compat is done. Purge all uses/references to
...
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
thorpej
8fb0e9f9e9
Include <string.h> for prototypes.
2002-12-06 03:27:39 +00:00
christos
67dc335c98
PR/18896: Jason Thorpe: C99 structure member initializers broken for arrays.
...
XXX: The checking done does not work, but the code passes.
2002-11-13 21:50:57 +00:00
christos
fa292fcfa7
forgot to commit those.
2002-10-23 00:36:36 +00:00
christos
899427c2e4
handle free-ing of temp symbols properly. Don't segv on bad node types.
2002-10-22 21:09:34 +00:00
christos
e6e5ec1d1b
fix spelling in comment.
2002-10-22 13:30:23 +00:00
christos
66cab14e3e
support for c99 style and gnu style structure and union named initializers.
2002-10-21 21:14:51 +00:00
christos
baa7f9f49e
Minimize diffs with my C99 capable version [this commit does not include
...
C99 support.
- turn lerror() into a macro so that the filename and the line number of the
error are printed before we abort.
- recurse in type printing to provide the proper type name.
2002-09-13 14:59:24 +00:00
tv
76834aef57
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
2002-01-31 19:36:47 +00:00
wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
lukem
704847f405
cleanup (prior to more adding more features):
...
- convert to ANSI KNF
- remove trailing whitespace
- translate some comments from german into english
code compiles and runs clean, and tested by running "make lint" against
xlint source using previous and this lint produces same results.
2001-05-28 12:40:37 +00:00
cgd
fd8d16c72f
fix broken NetBSD RCS id tags
2001-02-24 00:43:50 +00:00
christos
a06495e3c4
WARNSify
1998-02-22 15:40:39 +00:00
jpo
6910cf7927
prototypes override old style function definitions
...
this is a gnu extension to ansi c
1995-10-02 17:21:24 +00:00
jpo
2e332f67bf
added inline keywords
...
"inline" is enabled by -g, "__inline" and "__inline__" are always available
1995-10-02 17:14:06 +00:00
cgd
c61d16ddbe
RCS id cleanup
1995-07-03 21:23:45 +00:00
cgd
b14be51dec
lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
...
reason to why 'install' is named 'xinstall'.
1995-07-03 20:56:35 +00:00