From f64f1d9b40413ce090c1adc3f6f29e8dfe60a1ec Mon Sep 17 00:00:00 2001 From: ZacNugent Date: Sat, 6 Jun 2020 23:35:33 +0100 Subject: [PATCH] allow documenter symbols within quoted blocks --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 7c401081..7ba55bef 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -680,7 +680,7 @@ convertsigtotuple(sig::EXPR) = isbracketed(sig) && !(istuple(sig.args[2]) || (ty When parsing a block of expressions, can documentation be attached? Prefixed docs at the top-level are handled within `parse(ps::ParseState, cont = false)`. """ -docable(head) = head === Begin || head === ModuleH || head === BareModule +docable(head) = head === Begin || head === ModuleH || head === BareModule || head === Quote should_negate_number_literal(ps::ParseState, op::EXPR) = (is_plus(op) || is_minus(op)) && (kindof(ps.nt) === Tokens.INTEGER || kindof(ps.nt) === Tokens.FLOAT) && isemptyws(ps.ws) && kindof(ps.nnt) != Tokens.CIRCUMFLEX_ACCENT