home  

sp_before_nl_cont

Properties

  Category: Spacing options
      Type: multiple (ignore add remove force)
   Default: add

Description

Add or remove space before a backslash-newline at the end of a line.

Default: add
line\
continuation

Examples

raw CPP code sp_before_nl_cont=ignore sp_before_nl_cont=add sp_before_nl_cont=remove sp_before_nl_cont=force space
sp_before_nl_cont=force
#define TEST if(a) b=a;\ else if(b) c=a+b; \ else if(c) d=0; \ else a++; #define TEST if(a) b=a;\ else if(b) c=a+b; \ else if(c) d=0; \ else a++; #define TEST if(a) b=a; \ else if(b) c=a+b; \ else if(c) d=0; \ else a++; #define TEST if(a) b=a;\ else if(b) c=a+b;\ else if(c) d=0;\ else a++; #define TEST if(a) b=a; \ else if(b) c=a+b; \ else if(c) d=0; \ else a++; #defineTESTif(a)b=a; \ elseif(b)c=a+b; \ elseif(c)d=0; \ elsea++;
 

Info

  Take care, the default is 'add'
  Edited by JEAYNE

Not the best code for this option? See how to improve the .uds file used to generate these examples.