Shannon Woods
|
1bfaf78263
|
Merge preprocessor test changes from f84ef70bc7
Change-Id: I672f8b37f1e8189e43273abb59bce23ff1d580c1
Reviewed-on: https://chromium-review.googlesource.com/178994
Reviewed-by: Nicolas Capens <[email protected]>
Commit-Queue: Nicolas Capens <[email protected]>
Tested-by: Nicolas Capens <[email protected]>
|
2013-12-09 18:15:34 +00:00 |
|
[email protected]
|
73bc298e3f
|
Hooked up the new preprocessor behind a compile-time flag ANGLE_USE_NEW_PREPROCESSOR.
Review URL: https://codereview.appspot.com/6304095
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1158 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-06-19 18:48:05 +00:00 |
|
[email protected]
|
fc8b72005b
|
Refactored all tests to derive from a common PreprocessorTest. This avoids some code duplication.
Review URL: https://codereview.appspot.com/6257048
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1097 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-05-25 00:01:13 +00:00 |
|
[email protected]
|
36124de8ce
|
Implemented #error and #pragma directives. Added new tests and updated old ones for the new preprocessor API.
Review URL: https://codereview.appspot.com/6213066
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1094 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-05-24 02:17:43 +00:00 |
|
[email protected]
|
99b5c0c91e
|
Fixed compile errors and warnings on linux.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1088 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-05-17 20:44:52 +00:00 |
|
[email protected]
|
2c958eefb7
|
Moved error-handling to a separate class - Diagnostics. We were earlier returning errors as tokens which did not work very well when error occured while parsing a preprocessor directive. Now all returned tokens are valid. Errors are reported via an abstract Diagnostics interface. Updated unit-tests with the new scheme.
Review URL: https://codereview.appspot.com/6203089
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1087 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-05-17 20:35:42 +00:00 |
|
[email protected]
|
98eec91296
|
Using yy_scan_string, which flushes the old buffer does not work. GLSL requires that each input string is concatenated, but yy_scan_string treats each string individually. Added a custom YY_INPUT which maintains the continuity between each string.
Review URL: https://codereview.appspot.com/6130045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1066 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
2012-05-01 10:04:08 +00:00 |
|