Add org builder initializer

This commit is contained in:
Florian Schroedl
2022-01-20 17:00:00 +01:00
parent ff1d6845eb
commit b7c0ead7d2
2 changed files with 7 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ type
func initParserToken*(x: char): ParserToken = ParserToken(kind: parserTokenChar, charValue: x)
func initParserToken*(x: string): ParserToken = ParserToken(kind: parserTokenString, stringValue: x)
proc initParser*(str: string): Parser =
func initParser*(str: string): Parser =
Parser(
state: ParserState(
stream: str,