Skip to content

Commit

Permalink
Merge pull request #15 from sevki/patch-1
Browse files Browse the repository at this point in the history
omit => emit
  • Loading branch information
leebyron committed Jul 3, 2015
2 parents e22fea8 + 1fdba31 commit 099eeb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/language/lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Lexer = (resetPosition?: number) => Token;
* Given a Source object, this returns a Lexer for that source.
* A Lexer is a function that acts like a generator in that every time
* it is called, it returns the next token in the Source. Assuming the
* source lexes, the final Token omitted by the lexer will be of kind
* source lexes, the final Token emitted by the lexer will be of kind
* EOF, after which the lexer will repeatedly return EOF tokens whenever
* called.
*
Expand All @@ -48,7 +48,7 @@ export function lex(source: Source): Lexer {
}

/**
* An enum describing the different kinds of tokens that the lexer omits.
* An enum describing the different kinds of tokens that the lexer emits.
*/
export var TokenKind = {
EOF: 1,
Expand Down

0 comments on commit 099eeb7

Please sign in to comment.