]>
git.draconx.ca Git - cdecl99.git/log
Nick Bowler [Thu, 23 Jun 2011 00:30:17 +0000 (20:30 -0400)]
Make cdecl_free more robust by handling a NULL argument.
While we're at it, split the function into two so that the parser
doesn't have to call the exported version.
Nick Bowler [Tue, 21 Jun 2011 22:29:30 +0000 (18:29 -0400)]
Move typemap stuff into a separate file.
These functions will be generally useful. They are not part of the
public API, so we use the cdecl__ prefix for internal functions.
While we're at it, make the code easier to understand by automatically
generating the huge switch statement and eliminating the silly macros.
Nick Bowler [Tue, 21 Jun 2011 22:29:12 +0000 (18:29 -0400)]
Rename libcdecl.c to parse-decl.c
Paving the way for having more than one source file.
Nick Bowler [Tue, 21 Jun 2011 22:29:02 +0000 (18:29 -0400)]
Don't use missing for flex.
Oops, that was a leftover from early testing.
Nick Bowler [Tue, 21 Jun 2011 22:28:32 +0000 (18:28 -0400)]
Fix Makefile dependencies.
Dependencies of foo.$(OBJEXT) are not honoured when building a libtool
library; instead we need to use foo.lo.
Nick Bowler [Tue, 21 Jun 2011 22:28:18 +0000 (18:28 -0400)]
Add m4/.gitignore.
This ensures that the m4 directory exists in the git checkout.
Nick Bowler [Tue, 21 Jun 2011 01:35:13 +0000 (21:35 -0400)]
Don't touch unchanged flex/bison headers.
This prevents some spurious rebuilds.
Nick Bowler [Tue, 21 Jun 2011 01:34:45 +0000 (21:34 -0400)]
Add an initial declaration parser.
Nick Bowler [Sun, 19 Jun 2011 17:21:17 +0000 (13:21 -0400)]
Initial commit