Mercurial Hosting > luan
comparison core/src/luan/modules/Luan.luan @ 482:7e9fcfbf22ec
documentation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 May 2015 21:05:10 -0600 |
parents | 5d4a78c93383 |
children | 92c3d22745b8 |
comparison
equal
deleted
inserted
replaced
481:5d4a78c93383 | 482:7e9fcfbf22ec |
---|---|
30 return load_file(uri)() | 30 return load_file(uri)() |
31 end | 31 end |
32 | 32 |
33 VERSION = do_file "classpath:luan/version.luan" | 33 VERSION = do_file "classpath:luan/version.luan" |
34 | 34 |
35 local new_error = new_error | |
36 | |
35 function error(message) | 37 function error(message) |
36 new_error(message).throw() | 38 new_error(message).throw() |
37 end | 39 end |
38 | 40 |
39 local error = error | 41 local error = error |