Commit ff8c430f authored by Mateusz Gajewski's avatar Mateusz Gajewski

Revert removed method

parent 1262ae92
...@@ -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