mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Fix a lot of issues when resuming from a paragraph in a choice or expression block
This commit is contained in:
parent
f93d6fab6b
commit
dde89502da
67 changed files with 762 additions and 173 deletions
38
test/tests/flush.lua
Normal file
38
test/tests/flush.lua
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
local _={}
|
||||
_[17]={}
|
||||
_[16]={}
|
||||
_[15]={}
|
||||
_[14]={}
|
||||
_[13]={data="d",tags=_[17]}
|
||||
_[12]={data="c",tags=_[16]}
|
||||
_[11]={data="b",tags=_[15]}
|
||||
_[10]={data="a",tags=_[14]}
|
||||
_[9]={_[13]}
|
||||
_[8]={_[12]}
|
||||
_[7]={_[11]}
|
||||
_[6]={_[10]}
|
||||
_[5]={"return"}
|
||||
_[4]={"choice",_[9]}
|
||||
_[3]={"text",_[8]}
|
||||
_[2]={"choice",_[7]}
|
||||
_[1]={"text",_[6]}
|
||||
return {_[1],_[2],_[3],_[4],_[5]}
|
||||
--[[
|
||||
{ "text", { {
|
||||
data = "a",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "choice", { {
|
||||
data = "b",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "text", { {
|
||||
data = "c",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "choice", { {
|
||||
data = "d",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "return" }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue