help-flex
[Top][All Lists]
Advanced

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

Flex recognition of "split" keywords


From: Leor V
Subject: Flex recognition of "split" keywords
Date: Fri, 18 Jul 2003 09:03:05 +0000

Hi,

I'm writing a Fortran Scanner in flex, and for the moment I'm assuming keywords are reserved. Is there any way that flex can recognise a keyword which is split into several words such as:

GO TO

as 1 keyword? I.e. in the definitions section of the program, where I define the keywords:

KEYWORDS        IF|DO|...etc.

is it possible to add |GO TO| ? What other options do I have?

Thanks a lot, Leor.

_________________________________________________________________
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile





reply via email to

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