Skip to content

Commit 099eeb7

Browse files
committed
Merge pull request #15 from sevki/patch-1
omit => emit
2 parents e22fea8 + 1fdba31 commit 099eeb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language/lexer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Lexer = (resetPosition?: number) => Token;
2828
* Given a Source object, this returns a Lexer for that source.
2929
* A Lexer is a function that acts like a generator in that every time
3030
* it is called, it returns the next token in the Source. Assuming the
31-
* source lexes, the final Token omitted by the lexer will be of kind
31+
* source lexes, the final Token emitted by the lexer will be of kind
3232
* EOF, after which the lexer will repeatedly return EOF tokens whenever
3333
* called.
3434
*
@@ -48,7 +48,7 @@ export function lex(source: Source): Lexer {
4848
}
4949

5050
/**
51-
* An enum describing the different kinds of tokens that the lexer omits.
51+
* An enum describing the different kinds of tokens that the lexer emits.
5252
*/
5353
export var TokenKind = {
5454
EOF: 1,

0 commit comments

Comments
 (0)