[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Problem building libgeda/src/s_encode.c usingnotangle_guile
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@iespana.es>