Re: [9fans] some pcc questions

2012-04-23 Thread Bakul Shah
On Apr 23, 2012, at 6:42 AM, erik quanstrom wrote: > crazy idea i haven't tried. > > why not use X in sam or acme to mass-edit fu:bar -> fu[bar] and just make > fu an array. ? How will that work for something like struct X {int a:5, :8, c:12,:7; float d;} x; Usually you can convert bitfields

Re: [9fans] some pcc questions

2012-04-23 Thread erik quanstrom
> On Fri, Apr 20, 2012 at 12:01 PM, Jens Staal wrote: > > > The second issue that I have been meaning to ask the list is about pcc > > and bitfields - are they supported or is this some sort of can of > > worms I have stepped into? > > > > Bitfields are allowed to have lots of *-defined behavior

Re: [9fans] some pcc questions

2012-04-23 Thread Comeau At9Fans
On Mon, Apr 23, 2012 at 2:30 AM, Jens Staal wrote: > I have just hit another "pcc can not initialize bitfields" problem > with netsurf libcss. If anyone know how to tackle that issue (or if it > even CAN be tackled) it would be greatly appreciated > >From what I recall, it comes up when a bi

Re: [9fans] some pcc questions

2012-04-23 Thread Comeau At9Fans
On Fri, Apr 20, 2012 at 12:01 PM, Jens Staal wrote: > The second issue that I have been meaning to ask the list is about pcc > and bitfields - are they supported or is this some sort of can of > worms I have stepped into? > Bitfields are allowed to have lots of *-defined behavior, so often they

Re: [9fans] some pcc questions

2012-04-22 Thread Jens Staal
> The second issue that I have been meaning to ask the list is about pcc > and bitfields - are they supported or is this some sort of can of > worms I have stepped into? > I have just hit another "pcc can not initialize bitfields" problem with netsurf libcss. If anyone know how to tackle that issu

Re: [9fans] some pcc questions

2012-04-20 Thread Charles Forsyth
cute. On 20 April 2012 17:24, wrote: > for process pipelines, i'v written the program tap

Re: [9fans] some pcc questions

2012-04-20 Thread cinap_lenrek
that attachment didnt quite work, lets try it this way :) -- cinap#!/bin/rc v=() fn otherqid { x=`{echo $1 | sed 's/[12]$//'} switch($1){ case $x^1 echo $x^2 case $x^2 echo $x^1 } } fn traceqid { while(! ~ $#* 0){

Re: [9fans] some pcc questions

2012-04-20 Thread cinap_lenrek
Attach: /rc/bin/tap if something hangs, theres a good opportunity to figure out what is happening by looking in what state the various processes of the horde are using acid or acid -k. this does require knowledge of wich process waits for whom. for simple await() relationship, it is easy. there