commit | 2c958eefb71f1b939dbda4477df3f0c8fa47a7b8 | [log] [tgz] |
---|---|---|
author | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu May 17 20:35:42 2012 +0000 |
committer | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu May 17 20:35:42 2012 +0000 |
tree | f715f8ad9ba509fa935fa884378a2c0a4fde8e83 | |
parent | 08365f685cb85b495f81018df89e7379dbc01d0e [diff] |
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