-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
- --On 28.03.2002 23:40:44 +0100 Emiliano 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.
/me too...
> mgd_preparse expects to start in HTML mode. So far, so good.
> eval expects to start in PHP mode. So far, so good.
Right. For the sake of completness: Eval does also expect to end in PHP
mode, the ?> <? Things you do have to be symmetrical, or you'll get an
parse error.
> 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.
*thinking...*
It looks good if you ask me.
Live long and prosper!
Torben Nehmer
- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iD8DBQE8qXMpJPh4Kn6d5FYRAnnlAJ9He9vQXvJs+DhBjlvjZW2LmRewtwCgyF4G
alrlftvFaeuxNfm2YRz/q2Y=
=7QUc
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]