From f40643123d00088af743285b9fd41dd7b5a16da4 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Sat, 13 Sep 2008 12:48:45 -0700 Subject: [PATCH] Option to emit #line directives, ticket #53 --- Cython/Compiler/CmdLine.py | 4 +++- Cython/Compiler/Code.py | 22 +++++++++++++++++----- Cython/Compiler/Main.py | 3 ++- Cython/Compiler/ModuleNode.py | 3 +-- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 34e891e6..a423d2ac 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -36,7 +36,7 @@ Options: -D, --no-docstrings Remove docstrings. -a, --annotate Produce a colorized HTML version of the source. - --convert-range Convert for loops using range() function to for...from loops. + --line-directives Produce #line directives pointing to the .pyx source --cplus Output a c++ rather than c file. -X, --directive =[,