summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/debian/patches/006_upstream_64d93e3fb.diff
blob: ca26d3971339b2856a9e539ce531c63635acab42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Backported commit 64d93e3fb from upstream git repository.
--- a/src/align_func_proto.cpp
+++ b/src/align_func_proto.cpp
@@ -47,8 +47,8 @@
    log_rule_B("align_var_def_amp_style");
    size_t       myamp_style = options::align_var_def_amp_style();
 
-   const size_t max_level_count = 8;
-   const size_t max_brace_level = 8;
+   const size_t max_level_count = 16;
+   const size_t max_brace_level = 16;
 
    AlignStack   many_as[max_level_count + 1][max_brace_level + 1];
 
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -194,7 +194,7 @@
       return;
    }
    // the value of buffer_length is experimental
-   const int buffer_length = 4100;
+   const int buffer_length = 40000;
    char      buf[buffer_length];
 
    // it MUST be a 'unsigned int' variable to be runable under windows