diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-04 23:17:45 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-04 23:17:45 +0700 |
| commit | e7dc577ba54ec9b9f29c1b6845765f637e1b6408 (patch) | |
| tree | 779e66e930581540106cd35898bfaa459cde7394 /session.go | |
| parent | 858c26d3d940e3fba2db4ee1c6a3bb4b54544cf9 (diff) | |
| download | awwan-e7dc577ba54ec9b9f29c1b6845765f637e1b6408.tar.xz | |
all: fix #require does not get executed on the same start position
Diffstat (limited to 'session.go')
| -rw-r--r-- | session.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ func (ses *Session) executeRequires(req *Request, pos linePosition) (err error) x int64 ) - for x = 0; x < pos.start; x++ { + for x = 0; x <= pos.start; x++ { stmt = req.script.requires[x] if stmt == nil { continue |
