Skip to content

Commit

Permalink
compatibility with julia <=1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Brown committed Dec 8, 2024
1 parent 2db4fc6 commit 5d12f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/syntax/TheoryInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ function theory_impl(head, body, __module__)

doctarget = gensym()
mdp(::Nothing) = []
mdp(::Markdown.MD) = [x]
mdp(x::Base.Docs.DocStr) = Markdown.parse(x.text...)

push!(modulelines, Expr(:toplevel, :(module Meta
Expand Down

0 comments on commit 5d12f2f

Please sign in to comment.