Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_cc_out.c
Log Message:
catch missing targets in STATE_SET programs, for example
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- edje_cc_out.c 19 Oct 2004 16:50:09 -0000 1.34
+++ edje_cc_out.c 19 Oct 2004 17:31:18 -0000 1.35
@@ -473,6 +473,27 @@
}
*/
}
+
+ for (ll = pc->programs; ll; ll = ll->next)
+ {
+ Edje_Program *ep = ll->data;
+
+ switch (ep->action) {
+ case EDJE_ACTION_TYPE_STATE_SET:
+ case EDJE_ACTION_TYPE_ACTION_STOP:
+ case EDJE_ACTION_TYPE_DRAG_VAL_SET:
+ case EDJE_ACTION_TYPE_DRAG_VAL_STEP:
+ case EDJE_ACTION_TYPE_DRAG_VAL_PAGE:
+ if (!ep->targets) {
+ fprintf(stderr, "%s: Error. Target missing in program %s\n",
+ progname, ep->name);
+ ABORT_WRITE(ef, file_out);
+ }
+ break;
+ default:
+ break;
+ }
+ }
}
for (l = edje_collections; l; l = l->next)
{
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs