Make the main compiler call the preprocessor.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Jun 2010 19:18:00 +0000 (12:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 18:31:54 +0000 (11:31 -0700)
commit04ba86a536d76ef24c749e16c785c1634b9187c9
treeb9b1d64f0c45a59d8b1e192a3ab363df915ee14e
parent2848c4c183ea0aaca2ca0a23a13196c786403a5c
Make the main compiler call the preprocessor.

By using a single function, the main compiler doesn't need to include
glcpp.h, which currently has a lot of details about the preprocessor
internals.  In particular, this prevents the two yacc grammars from
seeing each other, which would be rather messy to sort out.
glcpp/Makefile.am
glcpp/pp.c [new file with mode: 0644]
glsl_parser_extras.h
main.cpp