From ff84711e645492a775b1f8bd1125d0815797ff5e Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Thu, 20 Jan 2022 17:00:00 +0100 Subject: [PATCH] Use func --- src/parser/parser_types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/parser_types.nim b/src/parser/parser_types.nim index 8e38aca..8ae8810 100644 --- a/src/parser/parser_types.nim +++ b/src/parser/parser_types.nim @@ -72,7 +72,7 @@ proc initBuilder*[T](t: Builder[T], parser: Parser, tree: seq[T]): Builder[T] = # -- Getters -proc tokenStringValue*(x: ParserToken): string = +func tokenStringValue*(x: ParserToken): string = ## Get the Token value `x` as a string. case x.kind: of parserTokenChar: