5 Commits
Author SHA1 Message Date
[email protected] 5b6a68e04a 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.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1175 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-06-28 20:29: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] 07d921de02 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.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1093 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-22 20:22:08 +00:00
[email protected] 828cc4897d Replaced Token::Location::string with Token::Location::file.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1056 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-04-26 19:41:07 +00:00
[email protected] d5bb405f54 Added tests for pp::Token interface and white-space handling by the preprocessor. By the magic of test-case generators, we have 74 tests!
Review URL: https://codereview.appspot.com/6009054

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1036 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-04-13 15:44:20 +00:00