[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-vm-dev
Subject:    Re: [Vm-dev] building plugins outside the tree
From:       K K Subbu <kksubbu.ml () gmail ! com>
Date:       2018-03-20 18:22:09
Message-ID: b78bfe46-40d5-0cfb-e7d4-662c36befa97 () gmail ! com
[Download RAW message or body]

 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic