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);
|
||||
empty = 0;
|
||||
if (!empty) {
|
||||
if (!label && (Char(ts))[0] != '#') {
|
||||
for (i = 0; i < level; i++)
|
||||
int slevel = level;
|
||||
if (label && (slevel >= indent)) slevel -= indent;
|
||||
if ((Char(ts))[0] != '#') {
|
||||
for (i = 0; i < slevel; i++)
|
||||
Putc(' ',f);
|
||||
}
|
||||
Printf(f,"%s",ts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue