MCPcopy Create free account
hub / github.com/yuin/gopher-lua / incomplete

Function incomplete

cmd/glua/glua.go:141–148  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

139}
140
141func incomplete(err error) bool {
142 if lerr, ok := err.(*lua.ApiError); ok {
143 if perr, ok := lerr.Cause.(*parse.Error); ok {
144 return perr.Pos.Line == parse.EOF
145 }
146 }
147 return false
148}
149
150func loadline(rl *readline.Instance, L *lua.LState) (string, error) {
151 rl.SetPrompt("> ")

Callers 1

multilineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…