11 ms·
I don't think this is a valid test case, as far as I understand, //go:generate works like "preprocessor directive". Maybe I can agree that // prefix is a bad c
by bluesign 12y ago
I don't think this is a valid test case, as far as I understand, //go:generate works like "preprocessor directive".
Maybe I can agree that // prefix is a bad choice, as coming from C world I would prefer #
- TheDong 12y agoHere's a corresponding C program in which I use a #define that is not processed by the pre-processor since it's not a dumb string matcher. http://pastebin.com/raw.php?i=dE7QsTgS http://pastebin.com/raw.php?i=dE7QsTgS Define might be. But actual directives are not. In go, the directives are.