Change builtin tparam aliases to expand to full type names

'@int' now means '@tparam integer' instead of '@tparam int'.
'@bool' now means '@tparam boolean' instead of '@tparam bool'.
'@func' now means '@tparam function' instead of '@tparam func'.
'@tab' now means '@tparam table' instead of '@tparam tab'.
This commit is contained in:
Peter Melnichenko 2016-07-23 12:58:15 +03:00
parent 3e573f4edd
commit deec0f1a69
1 changed files with 4 additions and 4 deletions

View File

@ -195,10 +195,10 @@ ldoc.alias ('error',doc.error_macro)
ldoc.tparam_alias 'string'
ldoc.tparam_alias 'number'
ldoc.tparam_alias 'int'
ldoc.tparam_alias 'bool'
ldoc.tparam_alias 'func'
ldoc.tparam_alias 'tab'
ldoc.tparam_alias('int', 'integer')
ldoc.tparam_alias('bool', 'boolean')
ldoc.tparam_alias('func', 'function')
ldoc.tparam_alias('tab', 'table')
ldoc.tparam_alias 'thread'
function ldoc.add_language_extension(ext, lang)