diff options
author | Adam Scarr <adam@vektah.net> | 2017-08-10 21:58:14 +1000 |
---|---|---|
committer | Adam Scarr <adam@vektah.net> | 2017-08-10 22:01:06 +1000 |
commit | a0e66b1c46ec57218f8a95a21ace7cbbceb29ec2 (patch) | |
tree | 630056d07ca6b44f7a747b7872ba422c6c301d85 /debugon.go | |
parent | af542eff9e1e51561a9efa37685ee07b1d01b53e (diff) |
Document cuts
Diffstat (limited to 'debugon.go')
-rw-r--r-- | debugon.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ type debugParser struct { } func (dp *debugParser) Name() string { - if len(activeParsers) > 2 && activeParsers[len(activeParsers)-2].Var == dp.Var { + if len(activeParsers) > 1 && activeParsers[len(activeParsers)-2].Var == dp.Var { return dp.Match } return dp.Var |