commit | 235f8b5899b2c5b75cb83975695da1377f0cac0c | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Fri Aug 19 18:27:47 2011 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Fri Aug 19 18:27:47 2011 +0000 |
tree | c14e5157fdf1f200973ba2ecfc8566b439505955 | |
parent | 0b7eeb59750fef5be018e6ec406da2da5be13c1b [diff] |
THRIFT-1274. compiler: fail compilation if an unexpected token is encountered This patch makes the lexer throw an exception when an unexpected token is encountered, as opposed to the standard behavior of just printing it out and doing nothing. Patch: Adam Simpkins git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1159733 13f79535-47bb-0310-9956-ffa450edef68