jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6f2657c3fb65a2ea4f1216686e27f170742456fe
commit 6f2657c3fb65a2ea4f1216686e27f170742456fe Author: Daniel Zaoui <[email protected]> Date: Tue Mar 11 14:02:31 2014 +0200 Eolian/Lexer: support of legacy overriding for properties. --- src/lib/eolian/eo_lexer.c | 6 ++++++ src/lib/eolian/eo_lexer.rl | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c index 120a0ee..27a9893 100644 --- a/src/lib/eolian/eo_lexer.c +++ b/src/lib/eolian/eo_lexer.c @@ -4412,6 +4412,12 @@ eo_tokenizer_database_fill(const char *filename) database_function_return_flag_set_as_warn_unused(foo_id, accessor->type == SETTER?SET:GET, accessor->ret.warn_unused); } + if (accessor->legacy) + { + database_function_data_set(foo_id, + (accessor->type == SETTER?EOLIAN_LEGACY_SET:EOLIAN_LEGACY_GET), + accessor->legacy); + } database_function_description_set(foo_id, (accessor->type == SETTER?EOLIAN_COMMENT_SET:EOLIAN_COMMENT_GET), accessor->comment); diff --git a/src/lib/eolian/eo_lexer.rl b/src/lib/eolian/eo_lexer.rl index 6a34cf5..a62b39b 100644 --- a/src/lib/eolian/eo_lexer.rl +++ b/src/lib/eolian/eo_lexer.rl @@ -1328,6 +1328,12 @@ eo_tokenizer_database_fill(const char *filename) database_function_return_flag_set_as_warn_unused(foo_id, accessor->type == SETTER?SET:GET, accessor->ret.warn_unused); } + if (accessor->legacy) + { + database_function_data_set(foo_id, + (accessor->type == SETTER?EOLIAN_LEGACY_SET:EOLIAN_LEGACY_GET), + accessor->legacy); + } database_function_description_set(foo_id, (accessor->type == SETTER?EOLIAN_COMMENT_SET:EOLIAN_COMMENT_GET), accessor->comment); --
