aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/yuescript/yuescript.h1
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
44end 45end
45local function get_options(...) 46local function get_options(...)