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:
parent
a227b419fe
commit
bd4192fc85
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue