emulator/opengl/emugen: Fix type parsing.
This patch fixes the parsing of type declarations and parameter
declarations to:
- Properly recognize complicated types like 'const int* const*'
which previously required omitting spaces (e.g. 'const int*const*')
to be recognized by the parser.
- Normalize the type strings (e.g. 'const char **items' -> 'const char** items')
- Add a unit test program (emugen_unittests) to check emugen's internal
functions. For now this only applies to the new functions introduced
in the new header Parser.h
+ Update emugen test suite accordingly.
Change-Id: Ib1b6bcbae97e1ee7d8b272843dfb5926d2d98fd2
26 files changed