diff options
author | wm4 <wm4@nowhere> | 2014-05-26 23:53:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-27 00:02:34 +0200 |
commit | 799b5e1a5df15d8004ff8030dd8f4e8b2a25e198 (patch) | |
tree | c5bdbbd5d8a613fbd81227bb30dd8a565a450fff /DOCS | |
parent | 9acd263542b7ceae3ad5427a7be3131fb7f9a68c (diff) | |
download | mpv-799b5e1a5df15d8004ff8030dd8f4e8b2a25e198.tar.bz2 mpv-799b5e1a5df15d8004ff8030dd8f4e8b2a25e198.tar.xz |
lua: slightly nicer diagnostics output
When Lua itself prints errors such as:
Error: [string "mp.defaults"]:387: syntax error near 'function'
It's unclear why the location is prefixed with "string ". And for some
reason, it disappears if you prefix the name with '@'. I suppose this is
done for the sake of luaL_loadstring. With the '@' prefix added, the
output is now:
Error: mp.defaults:387: syntax error near 'function'
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions