Does Lua support something like C's __LINE__
macro, which returns the number of the current code line? I know Lua has a special built-in variable called _G
, but I don't see line number in there...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…