issue #66: better error message for non-luadoc behaviour; now controlling backticks in the docs better

This commit is contained in:
Steve Donovan 2013-08-20 14:57:41 +02:00
parent 52e9b6f32c
commit 80a109e022
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ project='LDoc'
title='LDoc documentation'
description='A Lua documentation tool'
format='discount'
backtick_references=false
file='../ldoc.lua'
dir='../out'
readme='doc.md'

View File

@ -422,7 +422,7 @@ end
function Item:trailing_warning (kind,tag,rest)
if type(rest)=='string' and #rest > 0 then
Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use no_luadoc=true\n'..rest)
Item.warning(self,kind.." tag: '"..tag..'" has trailing text; use not_luadoc=true if you want description to continue between tags\n'..rest)
end
end