remove extra info printed for %define, but not #define, it makes very hard to find an error since swig reports it from where the macro was defined, not used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
44df9d121a
commit
f2324be428
1 changed files with 4 additions and 1 deletions
|
|
@ -751,8 +751,11 @@ expand_macro(String_or_char *name, List *args)
|
|||
g = Preprocessor_parse(e);
|
||||
|
||||
/* Drop the macro in place, but with a marker around it */
|
||||
#if 0
|
||||
Printf(f,"/*@%s,%d,%s@*/%s/*@@*/", Getfile(macro), Getline(macro), name, g);
|
||||
|
||||
#else
|
||||
Printf(f,"%s", g);
|
||||
#endif
|
||||
/* Printf(f," }\n"); */
|
||||
Delete(g);
|
||||
Delete(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue