diff options
Diffstat (limited to '')
| -rw-r--r-- | src/yuescript/stacktraceplus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/stacktraceplus.h b/src/yuescript/stacktraceplus.h index 48ea8c4..ac61ba7 100644 --- a/src/yuescript/stacktraceplus.h +++ b/src/yuescript/stacktraceplus.h | |||
| @@ -324,7 +324,7 @@ local function getYueLineNumber(fname, line) | |||
| 324 | source = yueCompiled["@="..fname] | 324 | source = yueCompiled["@="..fname] |
| 325 | end | 325 | end |
| 326 | if not source then | 326 | if not source then |
| 327 | local name_path = fname:gsub("%.", yue.dirsep) | 327 | local name_path = fname:gsub("%.", yue.options.dirsep) |
| 328 | local file_exist, file_path | 328 | local file_exist, file_path |
| 329 | for path in package.path:gmatch("[^;]+") do | 329 | for path in package.path:gmatch("[^;]+") do |
| 330 | file_path = path:gsub("?", name_path) | 330 | file_path = path:gsub("?", name_path) |
