Previously SWIG looked at the indentation of the first line and removed that many characters from each subsequent line, regardless of what those characters were. This was made worse because SWIG's preprocessor removes any whitespace before a '#'. Fixes github issue #379, reported by Joe Orton.
1 line
88 B
Text
1 line
88 B
Text
swig_pythoncode_bad.i:7: Error: Line indented less than expected (line 2 of pythoncode)
|