Cleanup: remove function that does not do anything (#6580)

Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
This commit is contained in:
Tobias Guggenmos 2020-01-08 15:58:21 +01:00 committed by Brian Brazil
parent d8bc24349c
commit 7c7746257c
2 changed files with 0 additions and 8 deletions

View File

@ -343,13 +343,6 @@ func (l *Lexer) run() {
}
}
// Release resources used by lexer.
func (l *Lexer) close() {
for range l.Items {
// Consume.
}
}
// lineComment is the character that starts a line comment.
const lineComment = "#"

View File

@ -206,7 +206,6 @@ func (p *parser) recover(errp *error) {
} else if e != nil {
*errp = e.(error)
}
p.lex.close()
}
// Lex is expected by the yyLexer interface of the yacc generated parser.