[cfe-dev] How to make clang compile any other language ? I want it to support ACSL (specification language of C).)

surbhi singh surbhi.chauhan011 at gmail.com
Sun Jul 28 02:42:17 PDT 2013


Hie Sir.
I found a new problem. It seems as if any of the changes done in
TokenKinds.def file are not visible anywhere. To check this I removed the
line which defines the keyword 'return'. The line which I removed is as
follows:

KEYWORD(return                      , KEYALL)

After this I run this command on my test_file :
clang -Xclang -dump-tokens test_file.c
and it seems to correctly tokenize 'return' keyword. This means the changes
which I had done in tokenKinds.def file are not reflected anwhere. What's
the reason behind this ?
Thanks
Surbhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130728/7f78d37c/attachment.html>


More information about the cfe-dev mailing list