Fix wrapping
This commit is contained in:
parent
52d4710ded
commit
7077cee692
@ -141,7 +141,7 @@ function BraceStack:empty()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function BraceStack:top()
|
function BraceStack:top()
|
||||||
return #self.stack[#self.stack]
|
return self.stack[#self.stack]
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
@ -240,6 +240,7 @@ end
|
|||||||
|
|
||||||
function Param:flush()
|
function Param:flush()
|
||||||
self.text = self.text:match('^%s*(.-)%s*$')
|
self.text = self.text:match('^%s*(.-)%s*$')
|
||||||
|
return #self.text > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
@ -260,8 +261,9 @@ end
|
|||||||
|
|
||||||
function ParamList:flush()
|
function ParamList:flush()
|
||||||
if self.current then
|
if self.current then
|
||||||
self.current:flush()
|
if self.current:flush() then
|
||||||
table.insert(self.parsed, self.current)
|
table.insert(self.parsed, self.current)
|
||||||
|
end
|
||||||
self.current = nil
|
self.current = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user