(l *State, s error, e int)
| 67 | } |
| 68 | |
| 69 | func loadHelper(l *State, s error, e int) int { |
| 70 | if s == nil { |
| 71 | if e != 0 { |
| 72 | l.PushValue(e) |
| 73 | if _, ok := SetUpValue(l, -2, 1); !ok { |
| 74 | l.Pop(1) |
| 75 | } |
| 76 | } |
| 77 | return 1 |
| 78 | } |
| 79 | l.PushNil() |
| 80 | l.Insert(-2) |
| 81 | return 2 |
| 82 | } |
| 83 | |
| 84 | type genericReader struct { |
| 85 | l *State |