Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
chromium_org
/
third_party
/
angle
/
8eee38bd4151448e67a1aff3d7c8d9214df6de83
/
tests
/
preprocessor_tests
/
char_test.cpp
7095d7a
Fix enum names that were not updated in the tests.
by Geoff Lang
· 11 years ago
5b6a68e
Replaced pp::Token::value with pp::Token::text. The term value will be used for a function which will convert text to integer/float constant.
by alokp@chromium.org
· 12 years ago
484730b
Removed the unnecessary usage of GTEST_HAS_PARAM_TEST and GTEST_HAS_COMBINE. I would rather have tests fail to compile than be silently ignored.
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
07d921d
Token::value now contains text for all types of tokens - not just CONST_INT, CONST_FLOAT, and IDENTIFIER. This makes it easier to report diagnostics and various preprocessor directives.
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
2818248
Drastically simplified Input class. Now most of the heavy lifting is done by in-built yy_scan_string and yy_scan_bytes. Comment handling will be done by the lexer.
by alokp@chromium.org
· 12 years ago
23ff36a
Added tests for the whole character set.
by alokp@chromium.org
· 12 years ago