Skip to content

Commit 6a30928

Browse files
committed
Bug fixed
1 parent 041f940 commit 6a30928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

YukimiScript.CommandLineTool/Compile.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ let loadLibs errStringing libPaths =
111111
let loadSrc errStringing (lib: Dom.Dom) srcPath =
112112
Dom.merge lib (loadDom errStringing srcPath)
113113
|> Dom.expandTextCommands
114-
|> Dom.expandUserMacros lib
114+
|> Dom.expandUserMacros
115115
|> unwrapDomException errStringing
116116

117117

YukimiScript.Parser.Test/Utils.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let testParseScript (x: string) =
3737
parsed)
3838
|> YukimiScript.Parser.Dom.analyze "Test.ykm"
3939
|> Result.map YukimiScript.Parser.Dom.expandTextCommands
40-
|> Result.bind (YukimiScript.Parser.Dom.expandUserMacros YukimiScript.Parser.Dom.empty)
40+
|> Result.bind YukimiScript.Parser.Dom.expandUserMacros
4141
|> Result.map YukimiScript.Parser.Dom.expandSystemMacros
4242
|> Result.bind YukimiScript.Parser.Dom.linkToExternCommands
4343
|> printfn "%A"

0 commit comments

Comments
 (0)