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:
Dave Beazley 2003-04-15 22:10:18 +00:00
commit 380d1bf82a

View file

@ -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);