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
90 B
Text
1 line
90 B
Text
swig_pythoncode_bad2.i:13: Error: Line indented less than expected (line 3 of pythoncode)
|