summaryrefslogtreecommitdiff
path: root/src
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 /src
parent6da6bd536e1386488d3e2e746659f113226a3e02 (diff)
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
Diffstat (limited to 'src')
-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
337 337
338 auto sub_context = change_indentation(indent.inc().inc(), context); 338 auto sub_context = change_indentation(indent.inc().inc(), context);
339 339
340 if (!as_generator(scope_tab(6) << wrapper_args_type << " args = new " << wrapper_args_type << "();\n" 340 if (!as_generator(wrapper_args_type << " args = new " << wrapper_args_type << "();\n"
341 << scope_tab(6) << "args.arg = ").generate(arg_initializer_sink, attributes::unused, context)) 341 << scope_tab(6) << "args.arg = ").generate(arg_initializer_sink, attributes::unused, context))
342 return false; 342 return false;
343 if (!(*etype).original_type.visit(unpack_event_args_visitor<decltype(arg_initializer_sink), decltype(sub_context)>{arg_initializer_sink, &sub_context, *etype})) 343 if (!(*etype).original_type.visit(unpack_event_args_visitor<decltype(arg_initializer_sink), decltype(sub_context)>{arg_initializer_sink, &sub_context, *etype}))