Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
chromium_org
/
third_party
/
angle
/
8eee38bd4151448e67a1aff3d7c8d9214df6de83
/
tests
/
preprocessor_tests
/
input_test.cpp
f84ef70
Restructure the tests gyp so they can be included in chromium
by Zhenyao Mo
· 11 years ago
73bc298
Hooked up the new preprocessor behind a compile-time flag ANGLE_USE_NEW_PREPROCESSOR.
by alokp@chromium.org
· 12 years ago
fc8b720
Refactored all tests to derive from a common PreprocessorTest. This avoids some code duplication.
by alokp@chromium.org
· 12 years ago
36124de8
Implemented #error and #pragma directives. Added new tests and updated old ones for the new preprocessor API.
by alokp@chromium.org
· 12 years ago
99b5c0c
Fixed compile errors and warnings on linux.
by alokp@chromium.org
· 12 years ago
2c958ee
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.
by alokp@chromium.org
· 12 years ago
98eec91
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.
by alokp@chromium.org
· 12 years ago