svn: r15545

original commit: 0c73b84692ff89398717e7171a7ec6a968e6249f
tokens
Robby Findler 15 years ago
parent 9631383261
commit 9de497d854

@ -216,8 +216,10 @@ are a few examples, using @scheme[:] prefixed SRE syntax:
no @scheme[(special)] rule is present, the lexer returns no @scheme[(special)] rule is present, the lexer returns
@scheme[(void)].}] @scheme[(void)].}]
End-of-files, specials, special-comments and special-errors can End-of-files, specials, special-comments and special-errors cannot
never be part of a lexeme with surrounding characters. be parsed via a rule using an ordinary regular expression
(but dropping down and manipulating the port to handle them
is possible in some situations).
Since the lexer gets its source information from the port, use Since the lexer gets its source information from the port, use
@scheme[port-count-lines!] to enable the tracking of line and @scheme[port-count-lines!] to enable the tracking of line and

Loading…
Cancel
Save