Cleanup
This commit is contained in:
parent
a8e6c907e5
commit
6713b591b0
@ -224,6 +224,10 @@ function Param:append(char)
|
|||||||
self.text = self.text .. char
|
self.text = self.text .. char
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Param:flush()
|
||||||
|
self.text = self.text:match('^%s*(.-)%s*$')
|
||||||
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
-- ParamList
|
-- ParamList
|
||||||
--
|
--
|
||||||
@ -241,6 +245,7 @@ end
|
|||||||
|
|
||||||
function ParamList:flush()
|
function ParamList:flush()
|
||||||
if self.current then
|
if self.current then
|
||||||
|
self.current:flush()
|
||||||
table.insert(self.parsed, self.current)
|
table.insert(self.parsed, self.current)
|
||||||
self.current = nil
|
self.current = nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user