summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-05 07:24:28 +0000
committerChris Lattner <sabre@nondot.org>2009-03-05 07:24:28 +0000
commitbcfe4f7b7bcb0c830c5f906bc8bf2a8cd3f00259 (patch)
tree36c4d04d6fda3c707d8d15acc66d7e6eca2ae578 /clang/lib/Parse/ParseObjc.cpp
parentad503987a8e17c9c72ed37edce531fca326638bc (diff)
downloadbcm5719-llvm-bcfe4f7b7bcb0c830c5f906bc8bf2a8cd3f00259.tar.gz
bcm5719-llvm-bcfe4f7b7bcb0c830c5f906bc8bf2a8cd3f00259.zip
When the parser is live, print out the location and spelling of its current token.
For example: Stack dump: 0. Program arguments: clang t.cpp 1. t.cpp:4:8: current parser token: ';' 2. t.cpp:3:1: parsing struct/union/class body 'x' Abort It is weird that the parser is always "underneath" any parse context actions, but the parser is created first. llvm-svn: 66148
Diffstat (limited to 'clang/lib/Parse/ParseObjc.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud