In this paper we make the following contributions: – We have designed general techniques to recognize cpp idioms without adding any ambiguity in the ANSI C and C++ grammars. The main ideas are the notion of fresh tokens (transforming Yacc in some sense into a LALR(k) tool), the use of ...