summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-07-02 17:20:53 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-07-02 17:20:53 +0800
commit11d2a7732c5d1c53aee384b2ca4fdc672c2cc1ae (patch)
treec1d9dcf099b2da3273b09479609dfcbb86ea7e59
parent656ae04aa0fd50a6f818d021da94a5915d13751c (diff)
downloadmrust-11d2a7732c5d1c53aee384b2ca4fdc672c2cc1ae.tar.gz
Codegen C - (minor) Comment before enum definitions
-rw-r--r--src/trans/codegen_c.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index 2612f577..5d87517d 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -666,6 +666,7 @@ namespace {
}
}
+ m_of << "// enum " << p << "\n";
if( nonzero_path.size() > 0 )
{
MIR_ASSERT(*m_mir_res, nonzero_path[0] == 0, "");