Parsing C++ and creating a module

(I previously posted this on cfe-users but I'm not sure that was the
right place.)

Hello,

I'm trying to create a C++ interpreter. Some time ago I wrote some code
which, if I remember correctly, was working correctly.