Commit c4842e0f authored by Toby Allen's avatar Toby Allen Committed by GitHub

Merge pull request #1462 from mholt/fix_1461

Revert removed method IncrNest
parents 1262ae92 ff8c430f
...@@ -120,6 +120,12 @@ func (d *Dispenser) NextBlock() bool { ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment