On Thu, Mar 20, 2008 at 11:57 AM, Derick Rethans <[EMAIL PROTECTED]> wrote:
> On Mon, 17 Mar 2008, Elizabeth M Smith wrote:
>
>  > 1. If re2c IS found, try to rebuild the .c versions
>  > 2. If re2C is NOT found, use the .c versions in cvs
>  >  - this allows not making re2c required but letting people who do have
>  > it get properly generated files every time
>
>  Actually, it should behave like with flex: only rebuild when it is
>  necessary (due to the file being touched).

Exactly. If it is not possible to rebuild it because re2c is not
present, a visible warning can be raised. About testing if a file has
been modified, CScript has the required property in the File object
(see File.LastModified). It is only about comparing if the re2c source
file is newer than the target .c file.

Cheers,
-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to