fix for the switch/case:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c319bcfb3f
commit
37c3c25427
1 changed files with 4 additions and 2 deletions
|
|
@ -150,8 +150,10 @@ Wrapper_pretty_print(String *str, File *f) {
|
||||||
Putc(c,ts);
|
Putc(c,ts);
|
||||||
empty = 0;
|
empty = 0;
|
||||||
if (!empty) {
|
if (!empty) {
|
||||||
if (!label && (Char(ts))[0] != '#') {
|
int slevel = level;
|
||||||
for (i = 0; i < level; i++)
|
if (label && (slevel >= indent)) slevel -= indent;
|
||||||
|
if ((Char(ts))[0] != '#') {
|
||||||
|
for (i = 0; i < slevel; i++)
|
||||||
Putc(' ',f);
|
Putc(' ',f);
|
||||||
}
|
}
|
||||||
Printf(f,"%s",ts);
|
Printf(f,"%s",ts);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue