On Thursday 28 March 2002 12:20, you wrote:

> > The parser translates mgd_eval(whatnot) into
> > eval("?>".mgd_preparse(whatnot)) which suggests to me that mgd_eval
> > used to expect to start in HTML mode. mgd_preparse does expect to
> > start in html mode, that I do know. But what you're saying is that
> > mgd_eval(whatnot) should map to eval(mgd_preparse("?>".whatnot))?
>
> I agree. To be sure I tested it again: In an about 4 Months old Non-MMP
> Midgard the following to lines were equivalent.
>
> mgd_eval("?><[page-$view]><?");
> eval("?><[page-$view]><?");>

I am now confused.

mgd_preparse expects to start in HTML mode. So far, so good.
eval expects to start in PHP mode. So far, so good.

This would mean that
   mgd_eval(whatnot) (or eval(whatnot) )
would need to map to
   eval('?>'.mgd_preparse('<?php '.whatnot))
right?

This is making my head hurt.

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to