History log of /external/mesa3d/src/glsl/glcpp/tests/091-hash-line.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d8e61f8f86bfb078a35222f95ad4b0b4e6283f53 10-Jun-2012 Carl Worth <cworth@cworth.org> glsl: glcpp: Extend testing of #line directives

The most recent commit adds support for comments and macro expansion
on #line directives. Add testing to verify the new features.

Signed-off-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glcpp/tests/091-hash-line.c
2a9e791fdeb45080a98042d41c153ea19c17caae 23-Aug-2010 Carl Worth <cworth@cworth.org> glcpp: Add new test for #line directive.

This test exposes two current bugs:

1. The source number is not being correctly emitted in error
messages (instead, it's always 0).

2. A directive of "#line 0" is resulting in the following
parse error:

preprocessor error: Invalid tokens after #
/external/mesa3d/src/glsl/glcpp/tests/091-hash-line.c