summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-07 11:41:40 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-07 13:43:11 -0800
commit144ef9dad3e8f32e8dd12d88d8f0db486452e13e (patch)
tree0240736d4e3295bed806d25e8127a8d127d5723b
parent8a3e745e1ac1f2dd3e115ea94ed35b0fba107b2c (diff)
downloadefl-144ef9dad3e8f32e8dd12d88d8f0db486452e13e.tar.gz
eolian: remove Eina_Promise.
-rw-r--r--src/lib/eolian/eo_lexer.c2
-rw-r--r--src/lib/eolian/eo_lexer.h2
-rw-r--r--src/lib/eolian/eo_parser.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index 9b7fe5a388..49b23a7cfe 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -75,7 +75,7 @@ static const char * const ctypes[] =
NULL, NULL, /* array types */
"Eina_Accessor", "Eina_Array", "Eina_Iterator", "Eina_Hash", "Eina_List",
- "Eina_Promise", "Efl_Future",
+ "Efl_Future",
"Eina_Value", "const char *", "Eina_Stringshare *",
"void *",
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index eeb6f7d4ad..051852cb92 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -53,7 +53,7 @@ enum Tokens
KW(static_array), KW(terminated_array), \
\
KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \
- KW(promise), KW(future), \
+ KW(future), \
KW(generic_value), KW(string), KW(stringshare), \
\
KW(void_ptr), \
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index c7c0a1624a..4fd22e16d9 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -900,7 +900,7 @@ parse_type_void(Eo_Lexer *ls, Eina_Bool allow_ref, Eina_Bool allow_sarray)
def->base_type->next_type = parse_type(ls, EINA_FALSE, EINA_FALSE);
pop_type(ls);
}
- else if((tpid == KW_promise || tpid == KW_future) && test_next(ls, ','))
+ else if((tpid == KW_future) && test_next(ls, ','))
{
def->base_type->next_type = parse_type(ls, EINA_FALSE, EINA_FALSE);
pop_type(ls);