mirror of
https://github.com/d0zingcat/rime-ice.git
synced 2026-05-13 23:16:54 +00:00
fix source field (#321)
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
-- puts(INFO,__FILE__(),__LINE__(),__FUNC__() , ...)
|
||||
--
|
||||
-- global variable
|
||||
function __FILE__(n) n=n or 2 return debug.getinfo(n,'S').soruce end
|
||||
function __FILE__(n) n=n or 2 return debug.getinfo(n,'S').source end
|
||||
function __LINE__(n) n=n or 2 return debug.getinfo(n, 'l').currentline end
|
||||
function __FUNC__(n) n=n or 2 return debug.getinfo(n, 'n').name end
|
||||
INFO="log"
|
||||
|
||||
Reference in New Issue
Block a user