MCPcopy Index your code
hub / github.com/Shopify/go-lua / semanticError

Method semanticError

code.go:286–289  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

284}
285
286func (f *function) semanticError(message string) {
287 f.p.t = 0 // remove "near to" from final message
288 f.p.syntaxError(message)
289}
290
291func (f *function) breakLabel() { f.FindGotos(f.MakeLabel("break", 0)) }
292func (f *function) unreachable() { f.assert(false) }

Callers 3

undefinedGotoErrorMethod · 0.95
closeGotoMethod · 0.95
CheckRepeatedLabelMethod · 0.95

Calls 1

syntaxErrorMethod · 0.80

Tested by

no test coverage detected