C++ typedef merging

Hi,

Small patch for the merging of typedef as defined in C++ std. So this become
valid in c++ mode:

CppMergedTypedef.patch (1.8 KB)