edje_cc: Convert anchors to beta feature (require -beta when compiled)

This commit is contained in:
Jeeyong Um 2017-04-26 11:33:47 +09:00
parent 56b8d1f908
commit 56bbb7467a
1 changed files with 3 additions and 0 deletions

View File

@ -9533,6 +9533,9 @@ check_has_anchors(void)
static void
check_has_relatives(void)
{
if (!beta)
error_and_abort(NULL, "Anchors are currently a beta feature, please enable them by running edje_cc with -beta.");
if (has_relatives)
{
ERR("parse error %s:%i. Anchors and Relatives(rel/align/fixed) cannot be used at the same time.",