diff options
| author | David Lamparter <equinox@diac24.net> | 2019-06-04 17:07:57 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-12 19:22:59 +0200 |
| commit | 3779776a39d81168b701b2cc2ce50a3b2331d3e8 (patch) | |
| tree | 57d3126699bf2e56509b085f370eee899cfe8ab5 /lib/clippy.c | |
| parent | 72ad94d5482298a7bb8d099bee3b7bfeab2a222b (diff) | |
lib/clippy: error out on unsupported bits
clippy can't process #ifdef or similar bits inside of an argument list
(e.g. within the braces of a DEFUN or DEFPY statement.) Improve error
reporting to catch these cases instead of generating broken C code.
Fixes: #3840
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/clippy.c')
| -rw-r--r-- | lib/clippy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/clippy.c b/lib/clippy.c index 44dcc02eb8..cd8067f5eb 100644 --- a/lib/clippy.c +++ b/lib/clippy.c @@ -85,8 +85,6 @@ int main(int argc, char **argv) if (PyRun_AnyFile(fp, pyfile)) { if (PyErr_Occurred()) PyErr_Print(); - else - printf("unknown python failure (?)\n"); return 1; } Py_Finalize(); |
