Next: White Space and Comments
Up: No Title
Previous: Possible Problem
- The basic action of a lexical analyzer is to read some part
of the input and to return a token at each call.
If there is no more input it returns a special EOF-token.
In JLex nextToken will actually return an object of class Symbol
containing token, obj, pos.
- Throw away white space and comments in between tokens.
- When does one token end and the next token start?
Christoph Zenger
3/23/2000