Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
c4842e0f
Commit
c4842e0f
authored
Feb 20, 2017
by
Toby Allen
Committed by
GitHub
Feb 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1462 from mholt/fix_1461
Revert removed method IncrNest
parents
1262ae92
ff8c430f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
caddyfile/dispenser.go
caddyfile/dispenser.go
+6
-0
No files found.
caddyfile/dispenser.go
View file @
c4842e0f
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment