Skip to content

Commit

Permalink
show a few more operators (!=, !==, >=, <=) quoted. fixes JuliaLang#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson authored and tkelman committed Jun 6, 2015
1 parent c3c61cc commit 4fa8765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ show_unquoted(io::IO, ex, ::Int,::Int) = show(io, ex)
## AST printing constants ##

const indent_width = 4
const quoted_syms = Set{Symbol}([:(:),:(::),:(:=),:(=),:(==),:(===),:(=>)])
const quoted_syms = Set{Symbol}([:(:),:(::),:(:=),:(=),:(==),:(!=),:(===),:(!==),:(=>),:(>=),:(<=)])
const uni_ops = Set{Symbol}([:(+), :(-), :(!), :(¬), :(~), :(<:), :(>:), :(), :(), :()])
const expr_infix_wide = Set([:(=), :(+=), :(-=), :(*=), :(/=), :(\=), :(&=),
:(|=), :($=), :(>>>=), :(>>=), :(<<=), :(&&), :(||), :(<:), :(=>)])
Expand Down

0 comments on commit 4fa8765

Please sign in to comment.