(name string)
| 160 | } |
| 161 | |
| 162 | func (f *function) MakeLocalVariable(name string) { |
| 163 | r := len(f.f.localVariables) |
| 164 | f.f.localVariables = append(f.f.localVariables, localVariable{name: name}) |
| 165 | f.p.checkLimit(len(f.p.activeVariables)+1-f.firstLocal, maxLocalVariables, "local variables") |
| 166 | f.p.activeVariables = append(f.p.activeVariables, r) |
| 167 | } |
| 168 | |
| 169 | func (f *function) MakeGoto(name string, line, pc int) { |
| 170 | f.p.pendingGotos = append(f.p.pendingGotos, label{name: name, line: line, pc: pc, activeVariableCount: f.activeVariableCount}) |
no test coverage detected