edje_cc: fix parsing error when some keywords are used as part name 70/87270/4
authorJee-Yong Um <jc9.um@samsung.com>
Tue, 29 Mar 2016 08:35:04 +0000 (17:35 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 7 Sep 2016 12:55:47 +0000 (05:55 -0700)
commit13e41a53d358554990ed0413d7081621788aed38
tree2183e19c4f9a082bc6b764c9d543b9e898bdfdd5
parent2e7d36fb9e840fc330e21cd19caa529b43e5bce9
edje_cc: fix parsing error when some keywords are used as part name

Summary:
Some keywords cause parsing error when they are used as part name.
For example,
   group { "some_group";
      parts {
         box { "box";
         }
      }
   }
The part name "box" should be processed by wildcard handler,
but this is pushed into stack. (collections.group.parts.part.box ...)
This patch pushes token into stack only when it doesn't have quotes.

@fix

Reviewers: cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3841

Change-Id: I9efad97139ccab6361c5d420b274f86be67b5e74
src/bin/edje/edje_cc_parse.c