[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: s_encoding.nw



  User: cnieves 
  Date: 05/11/26 19:28:10

  Modified:    .        s_encoding.nw
  Log:
  Break some lines so notangle_guile doesn't get confused by noweb scape sequences.
  
  
  
  
  Revision  Changes    Path
  1.3       +8 -4      eda/geda/devel/libgeda/noweb/s_encoding.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_encoding.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/s_encoding.nw,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- s_encoding.nw	1 Oct 2005 08:30:59 -0000	1.2
  +++ s_encoding.nw	27 Nov 2005 00:28:10 -0000	1.3
  @@ -149,8 +149,10 @@
         srclen -= 3;
   
         output[0] = (input[0] >> 2);
  -      output[1] = ((input[0] & 0x03) @<< 4) + (input[1] @>> 4);
  -      output[2] = ((input[1] & 0x0f) @<< 2) + (input[2] @>> 6);
  +      output[1] = ((input[0] & 0x03) @<< 4) + 
  +	(input[1] @>> 4);
  +      output[2] = ((input[1] & 0x0f) @<< 2) + 
  +	(input[2] @>> 6);
         output[3] = (input[2] & 0x3f);
   
         g_assert ((dstpos + 4) < *dstlenp);
  @@ -175,8 +177,10 @@
   	input[i] = *src++;
   
         output[0] = (input[0] >> 2);
  -      output[1] = ((input[0] & 0x03) @<< 4) + (input[1] @>> 4);
  -      output[2] = ((input[1] & 0x0f) @<< 2) + (input[2] @>> 6);
  +      output[1] = ((input[0] & 0x03) @<< 4) + 
  +	(input[1] @>> 4);
  +      output[2] = ((input[1] & 0x0f) @<< 2) + 
  +	(input[2] @>> 6);
   
         g_assert ((dstpos + 4) < *dstlenp);