]> git.draconx.ca Git - cdecl99.git/log
cdecl99.git
12 years agoMake cdecl_free more robust by handling a NULL argument.
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.

12 years agoMove typemap stuff into a separate file.
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.

12 years agoRename libcdecl.c to parse-decl.c
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.

12 years agoDon't use missing for flex.
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.

12 years agoFix Makefile dependencies.
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.

12 years agoAdd m4/.gitignore.
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.

12 years agoDon't touch unchanged flex/bison headers.
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.

12 years agoAdd an initial declaration parser.
Nick Bowler [Tue, 21 Jun 2011 01:34:45 +0000 (21:34 -0400)]
Add an initial declaration parser.

12 years agoInitial commit
Nick Bowler [Sun, 19 Jun 2011 17:21:17 +0000 (13:21 -0400)]
Initial commit