QUSIR / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Add ignore-code meta-comment support to codegen #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What feature do You need?

Staff codegen processes a header file (.h) to generate proxy code. Sometimes, 
it is useful to add some code that don't need to/cant be processed by codegen. 
To avoid having to comment out that code when proxies need to be regenerated, 
it would be useful a meta-comment that notifies the codegen to ignore a block 
of code.

For example:
// *start ignore block
.....code to be ignored
// *stop ignore block
....code to be processed by codegen

Original issue reported on code.google.com by matiassanm on 16 Sep 2011 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by loentar on 16 Sep 2011 at 7:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r559.

Original comment by loentar on 21 Nov 2011 at 9:25

GoogleCodeExporter commented 9 years ago
Example how to use this feature:

http://code.google.com/p/staff/source/browse/trunk/staff/tests/regress/135/test/
src/Test135.h

Original comment by loentar on 21 Nov 2011 at 9:27