Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_parse.c 


Log Message:


add : in as a delimiter so you can do:

name, "blah name";

OR ALSO

name: "blah name";

 

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_parse.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- edje_cc_parse.c     19 Oct 2003 02:11:06 -0000      1.12
+++ edje_cc_parse.c     16 Jan 2004 00:51:43 -0000      1.13
@@ -77,7 +77,7 @@
 static int
 isdelim(char c)
 {
-   const char *delims = "{},;";
+   const char *delims = "{},;:";
    char *d;
                  
    d = (char *)delims;
@@ -308,7 +308,7 @@
      {
        if (delim)
          {
-            if (!strcmp(token, ",")) do_params = 1;
+            if ((!strcmp(token, ",")) || (!strcmp(token, ":"))) do_params = 1;
             else if (!strcmp(token, "}"))
               {
                  if (do_params)




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to