lex input src question
hi i am woking on lex
i want to define a class as KEY which will include some other words
i.e
KEY [HELLO]
but when i do this lex recognizes KEY even when only 'H' is typed, but i want it to be recognized only when the whole word 'HELLO' appears
i would also like to add few more words in the KEY class...how can i do that?
thank you
|