parser: add internal []Token queue to the Parser
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ import (
|
||||
type Parser struct {
|
||||
src *lexer.Reader
|
||||
|
||||
pos lexer.Position
|
||||
pos lexer.Position
|
||||
queue []Token
|
||||
|
||||
// OnSection is called after a [section] is parsed.
|
||||
// Returning an error will abort the process.
|
||||
|
||||
Reference in New Issue
Block a user