[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parsing quoted strings help
From: |
Peter Chiocchetti |
Subject: |
Re: parsing quoted strings help |
Date: |
Sun, 5 Dec 2004 17:27:41 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
On Fri, Dec 03, 2004 at 04:53:25PM +0100, Dub Spencer wrote:
>
> the parser then looks for QUOTE STRING QUOTE and duplicates $2 (yylval
> is declared char const * to avoid errors) - but this always includes the
> closing quote. is this the expected behaviour?
to work around this, the parser now only matches QUOTE QSTRING,
without the closing quote; there cant be anything else anyways.
so yytext gets processed, before any further input is scanned.
thanks for your help offlist,
peter