diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/yuescript/yuescript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuescript/yuescript.h b/src/yuescript/yuescript.h index 2d2d660..a327387 100644 --- a/src/yuescript/yuescript.h +++ b/src/yuescript/yuescript.h | |||
@@ -40,6 +40,7 @@ yue.read_file = function(fname) | |||
40 | end | 40 | end |
41 | local text = assert(file:read("*a")) | 41 | local text = assert(file:read("*a")) |
42 | file:close() | 42 | file:close() |
43 | if string.sub(text, 1, 3) == "\239\187\191" then text = string.sub(text, 4) end | ||
43 | return text | 44 | return text |
44 | end | 45 | end |
45 | local function get_options(...) | 46 | local function get_options(...) |