0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Revert removed method

This commit is contained in:
Mateusz Gajewski 2017-02-20 13:43:42 +01:00
parent 1262ae92e9
commit ff8c430ff0
No known key found for this signature in database
GPG key ID: D88924404B34188C

View file

@ -120,6 +120,12 @@ func (d *Dispenser) NextBlock() bool {
return true return true
} }
// IncrNest adds a level of nesting to the dispenser.
func (d *Dispenser) IncrNest() {
d.nesting++
return
}
// Val gets the text of the current token. If there is no token // Val gets the text of the current token. If there is no token
// loaded, it returns empty string. // loaded, it returns empty string.
func (d *Dispenser) Val() string { func (d *Dispenser) Val() string {