docgen: do not render the ugly <//> operator; temporary hack until 0.20 has been released
This commit is contained in:
parent
8951680c05
commit
0f4446b861
1 changed files with 4 additions and 1 deletions
|
|
@ -1135,7 +1135,10 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) =
|
|||
put(g, tkSpaces, Space)
|
||||
infixArgument(g, n, 2)
|
||||
of nkPrefix:
|
||||
gsub(g, n, 0)
|
||||
if n.len > 0 and n[0].kind == nkIdent and n[0].ident.s == "<//>":
|
||||
discard "XXX Remove this hack after 0.20 has been released!"
|
||||
else:
|
||||
gsub(g, n, 0)
|
||||
if n.len > 1:
|
||||
let opr = if n[0].kind == nkIdent: n[0].ident
|
||||
elif n[0].kind == nkSym: n[0].sym.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue