aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-09-20 00:58:22 +0800
committerLi Jin <dragon-fly@qq.com>2021-09-20 00:58:22 +0800
commit3a126602d903d49e13595268e1da57624f0b6fc1 (patch)
tree0a85f34cd2fa54467e1f06827a2f91ca0a6fa7fd
parentddb5afc6283e13479e866db41350b188aab1a813 (diff)
downloadyuescript-3a126602d903d49e13595268e1da57624f0b6fc1.tar.gz
yuescript-3a126602d903d49e13595268e1da57624f0b6fc1.tar.bz2
yuescript-3a126602d903d49e13595268e1da57624f0b6fc1.zip
fix.
-rw-r--r--spec/inputs/macro.yue2
-rw-r--r--spec/inputs/teal-lang.yue2
-rw-r--r--src/yuescript/yuescript.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/spec/inputs/macro.yue b/spec/inputs/macro.yue
index 6a255fe..2dd15ac 100644
--- a/spec/inputs/macro.yue
+++ b/spec/inputs/macro.yue
@@ -1,5 +1,5 @@
1$ -> 1$ ->
2 package.yuepath = "?.yue;./spec/inputs/?.yue" 2 package.path = "?.lua;./spec/inputs/?.lua"
3 3
4import "macro-export" as { 4import "macro-export" as {
5 $, -- import all macros 5 $, -- import all macros
diff --git a/spec/inputs/teal-lang.yue b/spec/inputs/teal-lang.yue
index 1993203..68b2dd1 100644
--- a/spec/inputs/teal-lang.yue
+++ b/spec/inputs/teal-lang.yue
@@ -1,5 +1,5 @@
1$ -> 1$ ->
2 package.yuepath = "?.yue;./spec/inputs/?.yue" 2 package.path = "?.lua;./spec/inputs/?.lua"
3 3
4import "macro-teal" as {$} 4import "macro-teal" as {$}
5 5
diff --git a/src/yuescript/yuescript.h b/src/yuescript/yuescript.h
index 30006ba..4428fbe 100644
--- a/src/yuescript/yuescript.h
+++ b/src/yuescript/yuescript.h
@@ -205,6 +205,7 @@ local function p(...)
205 end 205 end
206 print(concat(args)) 206 print(concat(args))
207end 207end
208yue.find_modulepath = find_modulepath
208yue.insert_loader = insert_loader 209yue.insert_loader = insert_loader
209yue.dofile = yue_dofile 210yue.dofile = yue_dofile
210yue.loadfile = yue_loadfile 211yue.loadfile = yue_loadfile