// forwardPos updates colNo and lineNo and currentLineHead,
// after the given token was read
forwardPos updates colNo and lineNo and currentLineHead,
after the given token was read
// forwardPos updates colNo and lineNo and currentLineHead // after the given token was read
func (p *Parser) forwardPos(tok Token, lit string) {
	if tok == EOL {
		p.lineNo++
		p.currentLineHead = ""
	} else {
		p.currentLineHead += lit
	}
}
func ( p * Parser ) forwardPos ( tok Token , lit string ) { if tok == EOL { p . lineNo ++ p . currentLineHead = " " } else { p . currentLineHead += lit } }
forwardPos updates colNo and lineNo and currentLineHead,
after the given token was read
forwardPos updates colNo and lineNo and currentLineHead after the given token was read
// build current line, with the literal beginning at pos as mostright element.