summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-10-04 09:59:02 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2018-10-04 10:09:40 +0200
commit7cb0770d04aa9c0044f12306f4c94127d635af1e (patch)
treeaa86757fa45862a390efb98c0400f569c28698e5 /src/bin/eolian_mono
parent22d7cd12430bf4817d5ae38fa970988660f33d60 (diff)
csharp: Temporarily disable missing docs warning
Summary: Too many warnings about missing docs in generated code makes difficult to see "real" warnings. Reviewers: vitor.sousa, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7135
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian_mono.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian_mono.cc b/src/bin/eolian_mono/eolian_mono.cc
index 9bb5263fbf..e142725f7d 100644
--- a/src/bin/eolian_mono/eolian_mono.cc
+++ b/src/bin/eolian_mono/eolian_mono.cc
@@ -125,6 +125,9 @@ run(options_type const& opts)
125 } 125 }
126 }()}; 126 }()};
127 127
128 if (!as_generator("#pragma warning disable CS1591\n").generate(iterator, efl::eolian::grammar::attributes::unused, efl::eolian::grammar::context_null()))
129 throw std::runtime_error("Failed to generate pragma to disable missing docs");
130
128 if (!as_generator("using System;\nusing System.Runtime.InteropServices;\nusing System.Collections.Generic;\n") 131 if (!as_generator("using System;\nusing System.Runtime.InteropServices;\nusing System.Collections.Generic;\n")
129 .generate(iterator, efl::eolian::grammar::attributes::unused, efl::eolian::grammar::context_null())) 132 .generate(iterator, efl::eolian::grammar::attributes::unused, efl::eolian::grammar::context_null()))
130 { 133 {