Wide range of minor bug fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e699ee5a9d
commit
5c13fac1d5
10 changed files with 132 additions and 28 deletions
|
|
@ -988,9 +988,9 @@ Preprocessor_parse(DOH *s)
|
|||
/* Printf(stdout,"checking '%s'\n", v1); */
|
||||
if (!check_id(v1)) {
|
||||
if (Len(comment) == 0)
|
||||
Printf(ns,"%%constant %s %s;\n", Getattr(m,"name"), v1);
|
||||
Printf(ns,"%%constant %s = %s;\n", Getattr(m,"name"), v1);
|
||||
else
|
||||
Printf(ns,"%%constant %s %s; /*%s*/\n", Getattr(m,"name"),v1,comment);
|
||||
Printf(ns,"%%constant %s = %s; /*%s*/\n", Getattr(m,"name"),v1,comment);
|
||||
cpp_lines--;
|
||||
}
|
||||
Delete(v1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue