[gircompiler] Clean up parsing
authorColin Walters <walters@verbum.org>
Mon, 26 Jul 2010 20:26:46 +0000 (16:26 -0400)
committerColin Walters <walters@verbum.org>
Tue, 17 Aug 2010 17:14:51 +0000 (13:14 -0400)
commit8942500c99de223eff6f91677a5dff206e09b3a7
tree67b89e622e14874635a7fa9268ac12e16d363f31
parent616a918019f730184bc7aee0f4570a67db8850b9
[gircompiler] Clean up parsing

We never actually include multiple modules in the compiler,
so just nuke that.  Also rather than passing around GIrModule
consistently pass around a GIrTypelibBuild structure which
has various things.

This lets us maintain a stack there which we can walk for
better error messages.

Also, fix up the node lookup in giroffsets.c; previously
it didn't really handle includes correctly.  We really need to
switch to always using Foo.Bar (i.e. GIName) names internally...
girepository/girmodule.c
girepository/girmodule.h
girepository/girnode.c
girepository/girnode.h
girepository/giroffsets.c
girepository/girparser.c
girepository/girparser.h
tools/compiler.c