[antlr-interest] Mixing PHP and HTML --> error

Miguel Ping miguel.ping at gmail.com
Wed May 2 05:45:14 PDT 2007


Olá ;)

Could you expose the details of the errors you are getting? I believe
the grammar option filter=true ignores anything that doesn't fall in
the grammar limits.

On 5/2/07, Ruben Fonseca <rubenfonseca at di.uminho.pt> wrote:
> Hi to all!
>
> I'm writting a PHP grammar. As you know, PHP can be used in the middle
> of HTML code. I'm having an hard time to ignore the HTML part. The
> parser always give me errors when I mix PHP and HTML.
>
> Is there any cool way of dealing with this? I'm using AntLR 3 right now.
>
> Thank you!
>
>


More information about the antlr-interest mailing list