Skip to content

Commit

Permalink
Bug fix ParseDefinitionError enum was not exported
Browse files Browse the repository at this point in the history
as part of the public API.
  • Loading branch information
Shahar Soel committed Mar 25, 2016
1 parent 2f1b13f commit 96edf7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Parser, EMPTY_ALT} from "./parse/parser_public"
import {Parser, EMPTY_ALT, ParserDefinitionErrorType} from "./parse/parser_public"
import {Lexer} from "./scan/lexer_public"
import {Token, VirtualToken, EOF, extendToken, tokenName, tokenLabel} from "./scan/tokens_public"
import {exceptions} from "./parse/exceptions_public"
Expand All @@ -16,6 +16,7 @@ API.VERSION = "0.6.0"

// runtime API
API.Parser = Parser
API.ParserDefinitionErrorType = ParserDefinitionErrorType
API.Lexer = Lexer
API.Token = Token
API.VirtualToken = VirtualToken
Expand Down

0 comments on commit 96edf7f

Please sign in to comment.