(l *State, f *os.File)
| 105 | } |
| 106 | |
| 107 | func readNumber(l *State, f *os.File) (err error) { |
| 108 | var n float64 |
| 109 | if _, err = fmt.Fscanf(f, "%f", &n); err == nil { |
| 110 | l.PushNumber(n) |
| 111 | } else { |
| 112 | l.PushNil() |
| 113 | } |
| 114 | return |
| 115 | } |
| 116 | |
| 117 | func read(l *State, f *os.File, argIndex int) int { |
| 118 | resultCount := 0 |
nothing calls this directly
no test coverage detected