Skip to content

Commit

Permalink
In docs, consider expressions like x.y to be names (fix JuliaLang#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
fcard committed Jun 3, 2015
1 parent c85f1be commit 4132022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ end

uncurly(ex) = isexpr(ex, :curly) ? ex.args[1] : ex

namify(ex::Expr) = namify(ex.args[1])
namify(ex::Expr) = isexpr(ex, :.)? ex : namify(ex.args[1])
namify(sy::Symbol) = sy

function mdify(ex)
Expand Down

0 comments on commit 4132022

Please sign in to comment.