help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining Rules


From: Valter G. Nogueira Jr.
Subject: Re: Defining Rules
Date: Fri, 12 Sep 2003 16:43:46 -0300

Martin,

I alredy changed those in hope that precedence, as described in manual,
solve my problem.

But nothing happend.

On other hand, things I thought would be cumberstome were inded piece of
cake.

One of these were to solve the following
END _
IF

NL \n|\r\n   --->dos ended or not
CONT [ ]\_{NL}
SPC [ ]*{CONT}*

%
end{SPC}if {return TOK_ENDIF;}

%



----- Original Message -----
From: "Thurn, Martin" <address@hidden>
To: "'Valter G. Nogueira Jr.'" <address@hidden>
Sent: Friday, September 12, 2003 3:03 PM
Subject: RE: Defining Rules


> double quote " is NOT how you quote special characters.  Use backslash.
Try
>
> \<\%    { printf....
> \<\%\=  ...
>
> > -----Original Message-----
> > From: Valter G. Nogueira Jr. [mailto:address@hidden
> > Sent: Friday, September 12, 2003 1:38 PM
> > To: _flex mailing list
> > Subject: Defining Rules
> >
> >
> > %x vbs
> > %%
> > "<%" {printf("START VBS");BEGIN(vbs);}
> > "<%=" {printf("VBS-RESPONSE.WRITE");BEGIN(vbs);}
> > <vbs>"%>" {printf("END VBS");BEGIN(INITIAL);}
> > .* {ECHO;}
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]