Skip to content

Commit

Permalink
fix breaking macro for julia 1.8
Browse files Browse the repository at this point in the history
julia 1.8
  • Loading branch information
gkappler committed Sep 30, 2022
1 parent 73ec029 commit 454c399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CombinedParsers"
uuid = "5ae71ed2-6f8a-4ed1-b94f-e14e8158f19e"
authors = ["Gregor Kappler"]
version = "0.2.1"
version = "0.2.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand All @@ -21,7 +21,7 @@ Nullables = "1.0.0"
TextParse = "0.9, 1.0.0"
LazyStrings = "0.1.1"
Tries = "0.1.4"
julia = "1.4.2, 1.5, 1.6"
julia = "1.4.2, 1.5, 1.6, 1.7, 1.8"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
4 changes: 1 addition & 3 deletions src/CombinedParsers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -632,9 +632,7 @@ macro syntax(block)
macro $(Symbol(string(name)*"_str"))(x)
$name(x)
end
global $name = begin
$(expr...)
end
$(expr...)
pushfirst!($within_expr, $name)
$name
end
Expand Down

2 comments on commit 454c399

@hhaensel
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkappler
Any reason for not releasing a new version with this fix in place?
Maybe by including Julia 1.9 and 1.10?

@jClugstor
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hhaensel it seems that @gkappler unfortunately hasn't been active on github at all for the past two years, so it seems unlikely that a new version will ever be released :(

Please sign in to comment.