]> git.draconx.ca Git - cdecl99.git/commit
Kill typemap_is_valid.
authorNick Bowler <nbowler@draconx.ca>
Thu, 23 Jun 2011 00:30:52 +0000 (20:30 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 23 Jun 2011 00:30:52 +0000 (20:30 -0400)
commit90d2c82cd8b19562c71965d1bfa8e4b612ea4026
treefc051e42f099147be664afd8c1e9a805922e444e
parent237066ccfc3155ec951d99a781ff4e00ff3d34cd
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.
src/parse-decl.c
src/typemap.c
src/typemap.h