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

Hal Finkel hfinkel at anl.gov
Sun Jul 28 06:52:15 PDT 2013


----- Original Message -----
> 
> 
> 
> 
> 
> 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 ?

How are you attempting to rebuild? Did you try running 'make clean'?

 -Hal

> Thanks
> Surbhi
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the cfe-dev mailing list