views:

93

answers:

1

My target is to analyze and learn in details of compiler development techniques. Here I want to add a keyword in gcc and see how it works.

+6  A: 

You need to add an entry to c_common_reswords, in c-common.c. You'll need to allocate a new RID_ constant for that, and process it according to the semantics you want to give it.

Martin v. Löwis