diff options
author | realead <egor.dranischnikow@googlemail.com> | 2019-05-30 09:09:00 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-05-30 09:09:00 +0200 |
commit | 55dcc92dac53269e62359eeb17b013fab630227b (patch) | |
tree | 3be722421146fbbd152178a15791a0068a7d7a23 /Cython/Compiler/ModuleNode.py | |
parent | 5f79a743dc2932ab19b5ae0aac706845970b25f2 (diff) | |
download | cython-55dcc92dac53269e62359eeb17b013fab630227b.tar.gz |
Support showing the complete C code in the annotated html-file (GH-2858)
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 2d4144b62..a705dfd48 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -341,7 +341,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): modules = self.referenced_modules if Options.annotate or options.annotate: - rootwriter = Annotate.AnnotationCCodeWriter() + show_entire_c_code = Options.annotate == "fullc" or options.annotate == "fullc" + rootwriter = Annotate.AnnotationCCodeWriter(show_entire_c_code=show_entire_c_code) else: rootwriter = Code.CCodeWriter() |