Skip to content

Commit 6ad33d0

Browse files
committed
core: more parser fixes
1 parent 03e3563 commit 6ad33d0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ly/_internal/module-handling.ily

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,11 @@ useModule =
293293

294294

295295
;; include module file
296-
(ly:parser-include-string parser
297-
(format "\\include \"~a\"" filename))
296+
(if (lilypond-greater-than? "2.19.21")
297+
(ly:parser-include-string
298+
(format "\\include \"~a\"" filename))
299+
(ly:parser-include-string parser
300+
(format "\\include \"~a\"" filename)))
298301

299302
;; register module
300303
(set! oll-loaded-modules

0 commit comments

Comments
 (0)