Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge macro.jl #294

Merged
merged 3 commits into from
Apr 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/generator/Generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export AbstractStructNodeType, AbstractUnionNodeType, AbstractEnumNodeType
export ExprNode, ExprDAG
export get_nodes, get_exprs

include("macro.jl")
include("top_level.jl")
include("system_deps.jl")
include("nested.jl")
Expand All @@ -69,8 +70,6 @@ export pretty_print
include("audit.jl")
export report_default_tag_types

include("macro.jl")

include("mutability.jl")

include("passes.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/generator/jltypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ tojulia(x::CLLongLong) = JuliaClonglong()
tojulia(x::CLInt128) = JuliaCint128()
tojulia(x::CLFloat) = JuliaCfloat()
tojulia(x::CLDouble) = JuliaCdouble()
tojulia(x::CLLongDouble) = JuliaClongdouble() # Float64
tojulia(x::CLLongDouble) = JuliaClongdouble() # depends on compiler
tojulia(x::CLComplex) = JuliaComplex() # ComplexF32 or ComplexF64
tojulia(x::CLHalf) = JuliaChalf() # Float16
tojulia(x::CLFloat16) = JuliaCfloat16() # Float16
Expand Down
Loading