[cfe-dev] current parser token 'int' Illegal instruction error

Vadium vabrva at gmail.com
Wed Aug 14 09:18:11 PDT 2013


Hello,

I am trying to write a tool. When I added compile_database.json to file tool
suddenly gave this as an output:

Stack dump:
0.	test.c:16:1: current parser token 'int'
Illegal instruction (core dumped)

test.c is a simplest file I imagined to test tool, and referring 'int' is a
"int main..."

Is it a problem with my tool(I used example from here:
http://llvm.org/releases/3.3/tools/clang/docs/LibTooling.html) or something
else?

Thank you,
Vadim B.



-----
Since speech has been invented, people still can't understand each other.
--
View this message in context: http://clang-developers.42468.n3.nabble.com/current-parser-token-int-Illegal-instruction-error-tp4033916.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list