[phc-general] Problem with regular expression string
Edsko de Vries
edsko at phpcompiler.org
Mon Feb 26 17:33:52 CET 2007
On Mon, Feb 26, 2007 at 05:22:28PM +0100, Matthias Kleine wrote:
> Hi Edsko,
>
> > That means that your regexp's shouldn't change appearance anymore; an
> > escaped dollar in a DQ string will be escaped in the output of the
> > unparser, and a dollar in a SQ string will be shown as a dollar in a SQ
> > string. You can get the updated version from SVN
> > (code.google.com/p/phc).
>
> is only the PHP_unparser.cpp concerned or do I have to replace other
> files, too?
Uh, no, you'll also need to replace String.h, add String.cpp (which is
new; I split it into a header and implementation), and the lexer
(php_scanner.lex), and if you don't have flex, also the generated
scanner (lex.yy.cc). I *think* that should it be it.
> Thanks for your help anyway!
You're welcome :)
Edsko
More information about the phc-general
mailing list