A simpler preprocessor fix (for John's problem).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0548a0794f
commit
380d1bf82a
1 changed files with 2 additions and 2 deletions
|
|
@ -907,9 +907,9 @@ Preprocessor_replace(DOH *s)
|
|||
DOH *e;
|
||||
/* Yes. There is a macro here */
|
||||
/* See if the macro expects arguments */
|
||||
if (Getattr(m,"args")) {
|
||||
/* if (Getattr(m,"args")) {
|
||||
Swig_error(Getfile(id),Getline(id),"Macro arguments expected.\n");
|
||||
}
|
||||
} */
|
||||
e = expand_macro(id,0);
|
||||
Printf(ns,"%s",e);
|
||||
Delete(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue