[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intent to package: vcg



Hi,

Craig Sanders:
> alternatively, the uglified files are GPL-ed, so it is permissable to
> de-uglify them :-)

True. Here is an excerpt of this ugly code (I'm sending as is,
no line breakin):

{ GNODE h,*hp; assert((node)); ; if ((( node )->next) /*;static void gs_ide30 (node);
*/ ) (( (( node )->next) /*;static void gs_ide30 (node);*/ )->before) /*;
static void gs_ide30 (node);*/ = (( node )->before) /*;static void gs_ide30 (node);
*/ ; else nodelistend = (( node )->before) /*;ode;;*/ ; if ((( node )->before) /*;
{;*/ ) (( (( node )->before) /*;{;*/ )->next) /*;{;*/ = (( node )->next) /*;
{;*/ ; else nodelist = (( node )->next) /*;,*hp;;*/ ; h = gs_ide44 ; /*;;
node )->next) /+;R/SC;yy+NT ) (( (( nod;*/  hp = &gs_ide44 ; while (h) { if ((( h )->refnum) /*;nd = (( node )->before) /+;
R/SC;yy+NT ;;*/ >=(( node )->refnum) /*;nd = (( node )->before) /+;R/SC;
yy+NT ;;*/ ) break; hp = &((( h )->next) /*;) /+;R/SC;yy+NT ) (( (( node )->before);
*/ ); h = (( h )->next) /*;ext) /+;R/SC;yy+NT ;;*/ ; } *hp = node; if (h) (( node )->before) /*;
while (h) {;*/ = (( h )->before) /*;while (h) {;*/ ; else (( node )->before) /*;
h )->refnum) /+;R/SC;yy+NT >=(( node )-;*/ = gs_ide45 ;  (( node )->next) /*;
>next) /+;R/SC;yy+NT );;*/ = h; if (h) (( h )->before) /*;R/SC;yy+NT ;
;*/ = node; else gs_ide45 = node; } static GNODE gs_ide21 ; static GNODE gs_ide22 ; /*;e) /+;R/SC;yy+NT = gs_ide45 ; 
NT = h;;*/ 

> depending on how hairy they are, it might be no more than a few hours
> work with gnu indent and vi (s/vi/your preferred text editor/)

This should be possible. the #ifdefs are not uglified and what I
copied from the source above does not look to ugly. If it's
really necessary to change something one could renicify the
source.

Let's see what the author's answer will be.

Regards
Philipp



Reply to: