Skip to content

Commit 45e5bfe

Browse files
authored
Merge pull request #77 from ranjanan/static
Make animals const
2 parents 43b4b85 + dc22d50 commit 45e5bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacroTools.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ include("examples/threading.jl")
1717
include("examples/forward.jl")
1818

1919
const animals = Symbol[]
20+
const animals_file = joinpath(dirname(@__FILE__), "..", "animals.txt")
2021

2122
function __init__()
22-
animals_file = joinpath(dirname(@__FILE__), "..", "animals.txt")
2323
_animals = split(read(animals_file, String))
2424
resize!(animals, length(_animals))
2525
animals .= Symbol.(lowercase.(_animals))

0 commit comments

Comments
 (0)