add : in as a delimiter so you can do:
name, "blah name"; OR ALSO name: "blah name"; SVN revision: 8447
This commit is contained in:
parent
4436026ac6
commit
bd791501dd
|
@ -13,6 +13,7 @@ images
|
|||
// data can be attached to the edje file as a whole. string key, value style
|
||||
data
|
||||
{
|
||||
item: "Key" "This is a"" continued string";
|
||||
item, "My Data" "The string to attach to this data";
|
||||
item, "The Key" "String data attached to the key";
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ new_statement(void)
|
|||
static int
|
||||
isdelim(char c)
|
||||
{
|
||||
const char *delims = "{},;";
|
||||
const char *delims = "{},;:";
|
||||
char *d;
|
||||
|
||||
d = (char *)delims;
|
||||
|
@ -308,7 +308,7 @@ parse(char *data, off_t size)
|
|||
{
|
||||
if (delim)
|
||||
{
|
||||
if (!strcmp(token, ",")) do_params = 1;
|
||||
if ((!strcmp(token, ",")) || (!strcmp(token, ":"))) do_params = 1;
|
||||
else if (!strcmp(token, "}"))
|
||||
{
|
||||
if (do_params)
|
||||
|
|
Loading…
Reference in New Issue