From e69cc0c0f5dbd8c7950dcdd466aa504f8bbc9a9b Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 29 Jul 2015 18:57:09 +0100 Subject: Improve python code indentation warning / error messages --- Examples/test-suite/errors/swig_pythoncode_bad3.i | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Examples/test-suite/errors/swig_pythoncode_bad3.i (limited to 'Examples/test-suite/errors/swig_pythoncode_bad3.i') diff --git a/Examples/test-suite/errors/swig_pythoncode_bad3.i b/Examples/test-suite/errors/swig_pythoncode_bad3.i new file mode 100644 index 000000000..5759158d9 --- /dev/null +++ b/Examples/test-suite/errors/swig_pythoncode_bad3.i @@ -0,0 +1,7 @@ +%module xxx + +%pythoncode %{ + def extra(): + print "extra a" # indentation is 2 spaces then tab + print "extra b" # indentation is tab then 2 spaces +%} -- cgit v1.2.1