vektah -> oec
This commit is contained in:
parent
3e20a3b924
commit
3322278f7c
@ -52,7 +52,7 @@ func GetDefinition() (varName string, location string) {
|
|||||||
for more {
|
for more {
|
||||||
frame, more = frames.Next()
|
frame, more = frames.Next()
|
||||||
pkg := getPackageName(frame)
|
pkg := getPackageName(frame)
|
||||||
if pkg == "github.com/vektah/goparsify" || pkg == "github.com/vektah/goparsify/debug" {
|
if pkg == "github.com/oec/goparsify" || pkg == "github.com/oec/goparsify/debug" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/vektah/goparsify/debug"
|
"github.com/oec/goparsify/debug"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log io.Writer = nil
|
var log io.Writer = nil
|
||||||
@ -45,7 +45,7 @@ func (dp *debugParser) logf(ps *State, result *Result, format string, args ...in
|
|||||||
buf.WriteString(fmt.Sprintf("%-15s", ps.Preview(15)))
|
buf.WriteString(fmt.Sprintf("%-15s", ps.Preview(15)))
|
||||||
buf.WriteString(" | ")
|
buf.WriteString(" | ")
|
||||||
buf.WriteString(strings.Repeat(" ", len(activeParsers)-1))
|
buf.WriteString(strings.Repeat(" ", len(activeParsers)-1))
|
||||||
buf.WriteString(fmt.Sprintf(format, args...))
|
buf.WriteString(fmt.Sprint(format, args...))
|
||||||
if ps.Errored() {
|
if ps.Errored() {
|
||||||
buf.WriteString(fmt.Sprintf(" did not find %s", ps.Error.expected))
|
buf.WriteString(fmt.Sprintf(" did not find %s", ps.Error.expected))
|
||||||
} else if result != nil {
|
} else if result != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user