[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: Problem building libgeda/src/s_encode.c using notangle_guile
- To: geda-dev@xxxxxxxx
- Subject: Re: gEDA: Problem building libgeda/src/s_encode.c using notangle_guile
- From: Carlos Nieves Ónega <cnieves@xxxxxxxxxx>
- Date: Sun, 27 Nov 2005 01:15:02 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: geda-dev-outgoing@seul.org
- Delivered-to: geda-dev@seul.org
- Delivery-date: Sat, 26 Nov 2005 19:36:40 -0500
- In-reply-to: <17250.17883.693308.164505@mail.wanadoo.fr>
- References: <20051008194624.87B821408096@moria.seul.org> <1128888678.5097.3.camel@otilio> <17250.17883.693308.164505@mail.wanadoo.fr>
- Reply-to: geda-dev@xxxxxxxx
- Sender: owner-geda-dev@xxxxxxxx
Hi Patrick,
I have broken the lines with escape sequences in s_encoding.nw so
notangle_guile doesn't get confused by now. At least it should build now
without problems. It's in CVS.
Regards,
Carlos
El vie, 28-10-2005 a las 17:38 +0200, Patrick Bernaud escribiÃ:
> Hi Carlos, Ales,
>
> Carlos Nieves Ãnega writes:
> > [...]
> > I suppose the notangle_guile script doesn't support this escape
> > sequence. Since Patrick is the one who wrote it, maybe it's better to
> > listen to him...
>
> Yes you are right, notangle_guile does not support any of noweb escape
> sequences. It would not be difficult to change this fact but I am not
> sure it worth it if we are dropping noweb (more on that in a next
> message).
>
> A quick (and dirty) fix is either to reverse the operation order or
> break the line so that it will not recognize a code chunk reference:
>
> output[1] = (input[1] >> 4) + ((input[0] & 0x03) << 4);
> or
> output[1] = ((input[0] & 0x03) << 4) +
> (input[1] >> 4);
>
>
> Patrick
>
--
Carlos Nieves Ãnega <cnieves@xxxxxxxxxx>