Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_cc_parse.c
Log Message:
emissions now for the part collection soruce is now "". fixed a tinsy parser
bug for parsing "". emissions now wont recurse - but they may loop. hmm need
to limit that - easy to do this way though.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_parse.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- edje_cc_parse.c 19 Jun 2003 15:02:21 -0000 1.6
+++ edje_cc_parse.c 19 Jun 2003 23:56:26 -0000 1.7
@@ -123,10 +123,10 @@
if (!isspace(*p))
{
if (*p == '"')
- {
- in_quote = 1;
- had_quote = 1;
- }
+ {
+ in_quote = 1;
+ had_quote = 1;
+ }
in_tok = 1;
tok_start = p;
if (isdelim(*p)) *delim = 1;
@@ -138,10 +138,10 @@
if (in_quote)
{
if (((*p) == '"') && (*(p - 1) != '\\'))
- {
- in_quote = 0;
- had_quote = 1;
- }
+ {
+ in_quote = 0;
+ had_quote = 1;
+ }
}
else
{
@@ -193,7 +193,8 @@
strcpy(p, p + 1);
else if ((*p == '\\') && (*(p + 1) == '\\'))
strcpy(p, p + 1);
- p++;
+ else
+ p++;
}
}
return tok;
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs