no-compat 5.2/5.3 compatible; line endings for markdown.lua

This commit is contained in:
steve donovan 2013-08-25 21:01:30 +02:00
parent 7da46268dc
commit 85dbd3d731
3 changed files with 1369 additions and 1366 deletions

View File

@ -23,6 +23,7 @@ local tools = require 'ldoc.tools'
local markup = require 'ldoc.markup'
local prettify = require 'ldoc.prettify'
local doc = require 'ldoc.doc'
local unpack = utils.unpack
local html = {}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
-- parsing code for doc comments
local utils = require 'pl.utils'
local List = require 'pl.List'
local Map = require 'pl.Map'
local stringio = require 'pl.stringio'
@ -7,6 +8,7 @@ local lexer = require 'ldoc.lexer'
local tools = require 'ldoc.tools'
local doc = require 'ldoc.doc'
local Item,File = doc.Item,doc.File
local unpack = utils.unpack
------ Parsing the Source --------------
-- This uses the lexer from PL, but it should be possible to use Peter Odding's
@ -142,7 +144,7 @@ local function extract_tags (s,args)
if not value:match '\n[^\n]+\n' then
value = strip(value)
end
tags:add(tag,value,modifiers)
end
return tags --Map(tags)