Merge pull request #1462 from mholt/fix_1461

Revert removed method IncrNest
This commit is contained in:
Toby Allen 2017-02-20 15:20:10 +00:00 committed by GitHub
commit c4842e0fc1

View File

@ -120,6 +120,12 @@ func (d *Dispenser) NextBlock() bool {
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
// loaded, it returns empty string.
func (d *Dispenser) Val() string {