Fixed minor bug with line continuations in macros.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-08-29 01:14:31 +00:00
commit bd4192fc85

View file

@ -214,7 +214,7 @@ DOHHash *Preprocessor_define(DOHString_or_char *str, int swigmacro)
}
if (!swigmacro) {
Replace(macrovalue,"\\\n"," ", DOH_REPLACE_ANY);
Replace(macrovalue,"\\\n"," ", DOH_REPLACE_NOQUOTE);
}
/* Get rid of whitespace surrounding # */
Replace(macrovalue,"#","\001",DOH_REPLACE_NOQUOTE);