2012/1/23 Enlightenment SVN <[email protected]>:
> Log:
> edje: detect when we try to inherit from ourself.
>
>
> Author: cedric
> Date: 2012-01-23 07:45:12 -0800 (Mon, 23 Jan 2012)
> New Revision: 67472
> Trac: http://trac.enlightenment.org/e/changeset/67472
>
> Modified:
> trunk/edje/src/bin/edje_cc_handlers.c
>
> Modified: trunk/edje/src/bin/edje_cc_handlers.c
> ===================================================================
> --- trunk/edje/src/bin/edje_cc_handlers.c 2012-01-23 15:17:16 UTC (rev
> 67471)
> +++ trunk/edje/src/bin/edje_cc_handlers.c 2012-01-23 15:45:12 UTC (rev
> 67472)
> @@ -2242,6 +2242,14 @@
> progname, file_in, line - 1, parent_name);
> exit(-1);
> }
> + if (pc2 == pc)
> + {
> + ERR("%s: Error. parse error %s:%i. You are trying to inherit '%s'
> from itself. That's not possible."
> + "If there is another group of the same name, you want to inherit
> from that group and have the"
> + "same name as that group, there is a trick ! Just put the
> inherit before the directive that set"
> + "the name !", progname, file_in, line - 1, parent_name);
WHAT? Why would you do that? People goes all around fixing
shadowing of variables in the C code and now we are telling people
how to shadow Edje groups? Give me your phone number so I can
direct people asking how to fix the problems cause by this to talk
directly to you.
> + exit(-1);
> + }
>
> if (pc2->data)
> {
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel