]>
git.draconx.ca Git - cdecl99.git/log
Nick Bowler [Sat, 25 Jun 2011 00:26:25 +0000 (20:26 -0400)]
Fix VPATH builds from git.
In such builds, C source files (that are normally distributed) get
generated, which means they end up in the build tree. Building them
subsequently fails because headers (in the source tree) are not found.
Nick Bowler [Fri, 24 Jun 2011 13:42:53 +0000 (09:42 -0400)]
Split out qualifier explanations from explain_post_specs.
They'll be needed on their own for pointer explanations.
Nick Bowler [Fri, 24 Jun 2011 00:50:02 +0000 (20:50 -0400)]
Fix the distribution.
Now make distcheck passes.
Nick Bowler [Fri, 24 Jun 2011 00:24:50 +0000 (20:24 -0400)]
Initial support for explaining declarations.
This should support everything that the parser currently does.
Nick Bowler [Fri, 24 Jun 2011 00:24:32 +0000 (20:24 -0400)]
Add a function to turn a typemap into a string.
Nick Bowler [Thu, 23 Jun 2011 00:30:53 +0000 (20:30 -0400)]
Allow (and ignore) underscores in the list of type names.
This allows the "true" keywords to be used in the list.
Nick Bowler [Thu, 23 Jun 2011 00:30:52 +0000 (20:30 -0400)]
Kill typemap_is_valid.
Just do the check when building the map in the first place. This
enables more useful error messages, too: the case where there are no
type specifiers at all is certainly worth diagnosing separately from
other kinds of nonsense.
Nick Bowler [Thu, 23 Jun 2011 00:30:50 +0000 (20:30 -0400)]
Add initial command parser.
Nick Bowler [Thu, 23 Jun 2011 00:30:41 +0000 (20:30 -0400)]
Implement the interactive cdecl99 loop.
Bring in gnulib for getopt_long and readline support.
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