diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/not_a_compiler.txt')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/not_a_compiler.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/not_a_compiler.txt b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/not_a_compiler.txt new file mode 100644 index 00000000..439d4309 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/documentation/not_a_compiler.txt @@ -0,0 +1,19 @@ +uncrustify is not a compiler. + +Let have a look on: + +# if A + int abc( int a, int b, int c) + { + // do something +# else + int abc( int a, int b) + { + // do something else +# endif + } + +It will produce an error, because uncrustify doesn't evaluate the value of A. +uncrustify will read all the lines, a compiler only a part of it, depending on A. + +uncrustify encounter two opening braces but only one closing brace. |