(g label)
| 133 | } |
| 134 | |
| 135 | func (f *function) undefinedGotoError(g label) { |
| 136 | if isReserved(g.name) { |
| 137 | f.semanticError(fmt.Sprintf("<%s> at line %d not inside a loop", g.name, g.line)) |
| 138 | } else { |
| 139 | f.semanticError(fmt.Sprintf("no visible label '%s' for <goto> at line %d", g.name, g.line)) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | func (f *function) LocalVariable(i int) *localVariable { |
| 144 | index := f.p.activeVariables[f.firstLocal+i] |
no test coverage detected