[Vm-dev] building plugins outside the tree

K K Subbu kksubbu.ml at gmail.com
Tue Mar 20 18:10:09 UTC 2018


On Tuesday 20 March 2018 11:21 PM, Eliot Miranda wrote:
> Over my dead body.  Look, the generated sources all start with comments 
> that say
> 
> /* Automatically generated by
> 
> they could say
> 
> /* Automatically generated by
> .....
>    DO NOT EDIT
>   */

Is it necessary to generate human-readable C code? If the code can be 
filled out on a line completely, it should dissuade people from editing 
it while keeping the compiler happy. E.g.
------interp.c-------------------------------------------
typedef struct _StackPage { char *stackLimit; char
*headSP; char *headFP; char *baseFP; char *baseAddress;
char *realStackLimit; char *lastAddress; int trace;
struct _StackPage *nextPage; struct _StackPage *prevPage;
} StackPage;
---------------------------------------------------------

The code can be restored if necessary with indent(1).

Regards .. Subbu


More information about the Vm-dev mailing list