Re: preprocessors & GCC plugins

2009-07-07 Thread Rafael Espindola
2009/7/6 Basile STARYNKEVITCH : > Hello All > > I would suppose that the preprocessor (ie libcpp) might be enhanced to use > plugins. I can see several scenarii for them: > > 1. a plugin could enhance the way #include directives are processed > > 2. a plugin could add additional builtin macros, lik

preprocessors & GCC plugins

2009-07-06 Thread Basile STARYNKEVITCH
Hello All I would suppose that the preprocessor (ie libcpp) might be enhanced to use plugins. I can see several scenarii for them: 1. a plugin could enhance the way #include directives are processed 2. a plugin could add additional builtin macros, like __COUNTER__, which would be specific to