zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=72a9d087261a2a5bdff3cc5c1033a885bc386190

commit 72a9d087261a2a5bdff3cc5c1033a885bc386190
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Thu May 16 10:02:28 2019 +0200

    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
---
 src/bin/eolian_mono/eolian/mono/events.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}))

-- 


Reply via email to