summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-05-16 10:02:28 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-16 10:05:28 +0200
commit60bc43462855f050f0522276b6647854d195b8e4 (patch)
treed478658ee7bd1f8358582399f93a7b7eb46549a3
parent6da6bd536e1386488d3e2e746659f113226a3e02 (diff)
downloadefl-60bc43462855f050f0522276b6647854d195b8e4.tar.gz
csharp: fix formatting in generated .eo.cs codes
Summary: There was duplicated scope_tab, so I removed it. Test Plan: - ./autogen --enable-csharp-bindings - make Reviewers: lauromoura, felipealmeida, Jaehyun_Cho, YOhoho, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8901
-rw-r--r--src/bin/eolian_mono/eolian/mono/events.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/events.hh b/src/bin/eolian_mono/eolian/mono/events.hh
index b5e6e4a7f1..350dd57ad4 100644
--- a/src/bin/eolian_mono/eolian/mono/events.hh
+++ b/src/bin/eolian_mono/eolian/mono/events.hh
@@ -337,7 +337,7 @@ struct event_definition_generator
auto sub_context = change_indentation(indent.inc().inc(), context);
- if (!as_generator(scope_tab(6) << wrapper_args_type << " args = new " << wrapper_args_type << "();\n"
+ if (!as_generator(wrapper_args_type << " args = new " << wrapper_args_type << "();\n"
<< scope_tab(6) << "args.arg = ").generate(arg_initializer_sink, attributes::unused, context))
return false;
if (!(*etype).original_type.visit(unpack_event_args_visitor<decltype(arg_initializer_sink), decltype(sub_context)>{arg_initializer_sink, &sub_context, *etype}))