This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello All, In some occasions [1,2], the gengtype generator behave strangely, and a simple workaround would be to let it skip (i.e. ignore) some code. The attached patch (to rev.120437 of trunk) includes into gengtype the ability to skip code, and documents it. [1] http://gcc.gnu.org/ml/gcc/2007-01/msg00172.html [2] http://gcc.gnu.org/ml/gcc/2003-03/msg01258.html Ok for trunk? Changelog is after my signature: -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faïencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} *** ######### gcc/Changelog 2007-01-04 Basile Starynkevitch <basile@starynkevitch.net> * gcc/doc/gty.texi: document use of GENGTYPE-OFF & GENGTYPE-ON magic comments * gcc/gengtype-lex.l: skip input with GENGTYPE-OFF & GENGTYPE-ON comments
Attachment:
patch-gengtype-skip-trunk-rev120437.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |