Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Re: [ANNOUNCE] Scanner to be based on re2c [RSS Feed]

#1 March 16, 2008 23:35:43

Marcus B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: [ANNOUNCE] Scanner to be based on re2c


Hello Edward,

Sunday, March 16, 2008, 11:25:34 PM, you wrote:

> Here is a patch that appears to fix the Windows build:
>http://www.thewritingpot.com/patches/php-re2c-windows.patch> I made re2c required; if pre-generated files are supplied, however, we
> might be able to get away without it.

I think we need to have the windows build maintainers decide how they would
like to handle this. One thing we haven't decided on is how to deal with
checkin of re2c generated files. In fact we need them to be done without -g
flag. So when someone commots who has -g detection on, he must regenerate
the file without that. Another option is to always generate both versions
and then select the correc one form the build system.

> I also had to download re2c binaries from
>http://sourceforge.net/project/showfiles.php?group_id=96864and put them
> in my path. Whoever's maintaining zip.zip will want to update it.

> It appears Visual C++ 2005 Express does not support gotos to variable
> labels (it does support vanilla gotos out of the box, however). So I
> didn't bother porting the goto check code. Someone might want to do that
> later if we start supporting other compilers.

> Zend-related source files appear to have compiled successfully; re2c
> didn't give any output and exited with error code 0 (I assume it worked).

Sounds right. Re2c does not output anything besides the generated files,
when successfull.


Best regards,
Marcus


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

Offline

#2 March 17, 2008 01:18:28

Edward Z.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: [ANNOUNCE] Scanner to be based on re2c


Marcus Boerger wrote:
> Another option is to always generate both versions
> and then select the correc one form the build system.

+1

--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[]

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

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Re: [ANNOUNCE] Scanner to be based on re2c [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support