more brackets in comment fixes for simple text editor bracket matching algorithms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b276b1a104
commit
a14e16f184
1 changed files with 2 additions and 2 deletions
|
|
@ -1037,8 +1037,8 @@ static Node *dump_nested(const char *parent) {
|
||||||
for (i=0; i<3; i++) {
|
for (i=0; i<3; i++) {
|
||||||
char* code_ptr = Char(n->code);
|
char* code_ptr = Char(n->code);
|
||||||
while (code_ptr) {
|
while (code_ptr) {
|
||||||
/* Replace struct name (as in 'struct name {' ) with whitespace
|
/* Replace struct name (as in 'struct name {...}' ) with whitespace
|
||||||
name will be between struct and { */
|
name will be between struct and opening brace */
|
||||||
|
|
||||||
code_ptr = strstr(code_ptr, types_array[i]);
|
code_ptr = strstr(code_ptr, types_array[i]);
|
||||||
if (code_ptr) {
|
if (code_ptr) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue