pp_multiline_define_body_indent
Category: Preprocessor options
Type: numeric [-32 .. 32]
Default: 8
An offset value that controls the indentation of the body of a multiline #define.
'body' refers to all the lines of a multiline #define except the first line.
Requires 'pp_ignore_define_body = false'.
<0: Absolute column: the body indentation starts off at the specified column
(ex. -3 ==> the body is indented starting from column 3)
>=0: Relative to the column of the '#' of '#define'
(ex. 3 ==> the body is indented starting 3 columns at the right of '#')
Default: 8
| raw CPP code | pp_multiline_define_body_indent=8 |
|---|---|
| /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } |
need to be tuned with some values in [-32 .. 32]
Not the best code for this option? See how to improve the .uds file used to generate these examples.