diff --git a/REQUIRE b/REQUIRE index 43b1879..cffe70e 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,3 @@ julia 0.6 2- -ModuleInterfaceTools 0.1.6 +ModuleInterfaceTools 0.1.7 StrAPI 0.1.8 diff --git a/src/charsets.jl b/src/charsets.jl index bb2e66d..9e1a838 100644 --- a/src/charsets.jl +++ b/src/charsets.jl @@ -15,7 +15,7 @@ CharSet(s) = CharSet{Symbol(s)}() # List of basic character sets -show(io::IO, ::Type{CharSet{S}}) where {S} = print(io, "CharSet{:", string(S), "}") +show(io::IO, ::Type{CharSet{S}}) where {S} = print(io, "CharSet{:$S}") const UniPlusCharSet = CharSet{:UniPlus} push!(charset_types, UniPlusCharSet) @@ -25,7 +25,7 @@ for lst in cse_info nam = lst[1] csnam = symstr(nam, "CharSet") @eval const $csnam = CharSet{$(quotesym(nam))} - @eval show(io::IO, ::Type{$csnam}) = print(IO, $nam, "CharSet") + @eval show(io::IO, ::Type{$csnam}) = print(IO, string(csnam)) @eval push!(charset_types, $csnam) @eval @api $(String(nam)[1] == '_' ? :develop : :public) $csnam end