aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eolian/database_validate.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 15:50:58 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-16 16:37:52 +0100
commitb70604d018366cf1e825668643916a2c3cc4a88b (patch)
treeb1f45092328e7be250c16260de782e9d7176e796 /src/lib/eolian/database_validate.c
parenteolian: expose _eval_type to internals (diff)
downloadefl-b70604d018366cf1e825668643916a2c3cc4a88b.tar.gz
eolian: cache enum expr in the database
Diffstat (limited to 'src/lib/eolian/database_validate.c')
-rw-r--r--src/lib/eolian/database_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index c3e7887a37..41ac2a206e 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -292,9 +292,9 @@ _validate_expr(const Eolian_Unit *src, Eolian_Expression *expr,
{
Eolian_Value val;
if (tp)
- val = eolian_expression_eval_type(src, expr, tp);
+ val = database_expr_eval_type(src, expr, tp);
else
- val = eolian_expression_eval(src, expr, msk);
+ val = database_expr_eval(src, expr, msk);
if (val.type == EOLIAN_EXPR_UNKNOWN)
return EINA_FALSE;