Skip to content

Commit 041f940

Browse files
authored
Update Dom.fs
1 parent 81b74b8 commit 041f940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

YukimiScript.Parser/Dom.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ let expandTextCommands (x: Dom) : Dom =
166166
Macros = List.map mapBlock x.Macros }
167167

168168

169-
let expandUserMacros (lib: Dom) (x: Dom) =
170-
let macros = List.map (fun (a, b, _) -> a, b) (lib.Macros @ x.Macros)
169+
let expandUserMacros (x: Dom) =
170+
let macros = List.map (fun (a, b, _) -> a, b) x.Macros
171171
x.Scenes
172172
|> List.map (fun (sceneDef, block, debugInfo) ->
173173
Macro.expandBlock macros block

0 commit comments

Comments
 (0)