From 03397f1dae5df08467644106cf2c2083ed77806c Mon Sep 17 00:00:00 2001 From: Ondrej Certik Date: Fri, 3 Dec 2010 19:26:14 -0800 Subject: [PATCH] Implement the --fatal-errors command line option If enabled, it will abort on the first error occured. Just like "gcc -Wfatal-errors". Signed-off-by: Ondrej Certik --- Cython/Compiler/CmdLine.py | 3 +++ Cython/Compiler/Errors.py | 3 +++ Cython/Compiler/Options.py | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 320690b0..0b0c8244 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -35,6 +35,7 @@ Options: --embed Embed the Python interpreter in a main() method. -2 Compile based on Python-2 syntax and code semantics. -3 Compile based on Python-3 syntax and code semantics. + --fatal-errors Abort the compilation on the first error -X, --directive =[,