1 parent
1a83724317
commit
386b0c475e
46 files changed
+7897
-4414
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ tmp = max(glob.glob("/tmp/imgui_test_*/ImGui.linemap.json"), key=os.path.getmtim
|
||||
lm = json.load(open(tmp))
|
||||
def loc(n):
|
||||
if not n.isdigit(): return "C"
|
||||
n = int(n) - 5 + 2; best = None
|
||||
n = int(n) - 5 + 1; best = None # run.luau header lines, 1 stripped --! line (see run.py)
|
||||
for start, name in lm:
|
||||
if start <= n: best = (start, name)
|
||||
return "%s:%d" % (best[1], n - best[0] + 1) if best else "?"
|
||||
|
||||
Reference in new issue
Block a user