Zum Inhalt springen

Modul:PageTree: Unterschied zwischen den Versionen

updates
w>PerfektesChaos
(+ .loose)
w>PerfektesChaos
(updates)
Zeile 1: Zeile 1:
--[=[ 2014-07-13
--[=[ 2014-09-14


Module:pageTree
Module:pageTree
Zeile 620: Zeile 620:
     local sup    = Current.self
     local sup    = Current.self
     local r
     local r
     flow( Current.self )
     if not sup:find( "/", 1, true ) then
    repeat
        flow( sup )
        higher = Current.pages[ sup ]
        repeat
        if type( higher ) == "table" then
            higher = Current.pages[ sup ]
            sup          = higher.super
            if type( higher ) == "table" then
            reverse[ n ] = higher
                sup          = higher.super
            if higher.loose then
                reverse[ n ] = higher
                n = -1
                if higher.loose then
                break    -- repeat
                    n = -1
            elseif sup then
                    break    -- repeat
                n = n + 1
                elseif sup then
                if n > Current.maxSub then
                    n = n + 1
                    reverse[ n ] = { seed = "???????" }
                    if n > Current.maxSub then
                        reverse[ n ] = { seed = "???????" }
                        break    -- repeat
                    end
                else
                     break    -- repeat
                     break    -- repeat
                 end
                 end
Zeile 638: Zeile 642:
                 break    -- repeat
                 break    -- repeat
             end
             end
         else
         until not higher
            break    -- repeat
    end
        end
    until not higher
     if n > 1 then
     if n > 1 then
         for i = n, 2, -1 do
         for i = n, 2, -1 do
Anonymer Benutzer