Skip to content

Commit 4405977

Browse files
committed
Add documentation about yyatEOF()
1 parent ba9a74c commit 4405977

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/md/lex-specs.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,12 @@ Currently, the API consists of the following methods and member fields:
11531153
Unicode surrogate characters, and as a result expressions such as
11541154
`[^]` (any character) and `\p{...}` (characters having a Unicode
11551155
property) can match more than one `char`.
1156-
1156+
1157+
- `yyatEOF()`
1158+
1159+
returns whether the scanner has reached the end of the reader it reads
1160+
from, which often corresponds to the end of file.
1161+
11571162
- `int yyline`
11581163

11591164
contains the current line of input (starting with 0, only active

0 commit comments

Comments
 (0)