1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 09:09:31 +00:00
anselme/test/tests/resume from paragraph with nested choice.lua

268 lines
No EOL
5.1 KiB
Lua

local _={}
_[130]={}
_[129]={}
_[128]={}
_[127]={}
_[126]={}
_[125]={}
_[124]={}
_[123]={}
_[122]={}
_[121]={}
_[120]={text="c",tags=_[130]}
_[119]={text="b",tags=_[129]}
_[118]={text="a",tags=_[128]}
_[117]={}
_[116]={text="ab",tags=_[127]}
_[115]={text="aa",tags=_[117]}
_[114]={text="ab"}
_[113]={text="aa"}
_[112]={}
_[111]={text="c",tags=_[126]}
_[110]={text="b",tags=_[125]}
_[109]={text="a",tags=_[112]}
_[108]={}
_[107]={text="c",tags=_[108]}
_[106]={}
_[105]={}
_[104]={text="ab",tags=_[105]}
_[103]={text="aa",tags=_[124]}
_[102]={}
_[101]={text="c",tags=_[102]}
_[100]={}
_[99]={}
_[98]={text="b",tags=_[99]}
_[97]={text="a",tags=_[123]}
_[96]={}
_[95]={text="c",tags=_[96]}
_[94]={}
_[93]={text="ab",tags=_[94]}
_[92]={text="aa",tags=_[122]}
_[91]={}
_[90]={text="c",tags=_[91]}
_[89]={}
_[88]={text="b",tags=_[89]}
_[87]={text="a",tags=_[121]}
_[86]={_[120]}
_[85]={_[119]}
_[84]={_[118]}
_[83]={text="-> aa",tags=_[117]}
_[82]={_[116]}
_[81]={_[115]}
_[80]={text="-> aa",tags=_[112]}
_[79]={_[114]}
_[78]={_[113]}
_[77]={text="-> a",tags=_[112]}
_[76]={_[111]}
_[75]={_[110]}
_[74]={_[109]}
_[73]={text="-> c",tags=_[108]}
_[72]={_[107]}
_[71]={text="autoflush",tags=_[106]}
_[70]={text="-> ab",tags=_[105]}
_[69]={_[104]}
_[68]={_[103]}
_[67]={text="-> c",tags=_[102]}
_[66]={_[101]}
_[65]={text="autoflush",tags=_[100]}
_[64]={text="-> b",tags=_[99]}
_[63]={_[98]}
_[62]={_[97]}
_[61]={text="-> c",tags=_[96]}
_[60]={_[95]}
_[59]={text="-> ab",tags=_[94]}
_[58]={_[93]}
_[57]={_[92]}
_[56]={text="-> c",tags=_[91]}
_[55]={_[90]}
_[54]={text="-> b",tags=_[89]}
_[53]={_[88]}
_[52]={_[87]}
_[51]={_[84],_[85],_[86]}
_[50]={_[83]}
_[49]={_[81],_[82]}
_[48]={_[80]}
_[47]={_[78],_[79]}
_[46]={_[77]}
_[45]={_[74],_[75],_[76]}
_[44]={_[73]}
_[43]={_[72]}
_[42]={_[71]}
_[41]={_[70]}
_[40]={_[68],_[69]}
_[39]={_[67]}
_[38]={_[66]}
_[37]={_[65]}
_[36]={_[64]}
_[35]={_[62],_[63]}
_[34]={_[61]}
_[33]={_[60]}
_[32]={_[59]}
_[31]={_[57],_[58]}
_[30]={_[56]}
_[29]={_[55]}
_[28]={_[54]}
_[27]={_[52],_[53]}
_[26]={"error","invalid choice; in event flush at test/tests/resume from paragraph with nested choice.ans:76"}
_[25]={"choice",_[51]}
_[24]={"text",_[50]}
_[23]={"choice",_[49]}
_[22]={"text",_[48]}
_[21]={"choice",_[47]}
_[20]={"text",_[46]}
_[19]={"choice",_[45]}
_[18]={"text",_[44]}
_[17]={"choice",_[43]}
_[16]={"text",_[42]}
_[15]={"text",_[41]}
_[14]={"choice",_[40]}
_[13]={"text",_[39]}
_[12]={"choice",_[38]}
_[11]={"text",_[37]}
_[10]={"text",_[36]}
_[9]={"choice",_[35]}
_[8]={"text",_[34]}
_[7]={"choice",_[33]}
_[6]={"text",_[32]}
_[5]={"choice",_[31]}
_[4]={"text",_[30]}
_[3]={"choice",_[29]}
_[2]={"text",_[28]}
_[1]={"choice",_[27]}
_[0]={_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15],_[16],_[17],_[18],_[19],_[20],_[21],_[22],_[23],_[24],_[25],_[26]}
_[113].tags=_[112]
_[114].tags=_[112]
return _[0]
--[[
{ "choice", { { {
tags = {},
text = "a"
} }, { {
tags = {},
text = "b"
} } } }
{ "text", { {
tags = {},
text = "-> b"
} } }
{ "choice", { { {
tags = {},
text = "c"
} } } }
{ "text", { {
tags = {},
text = "-> c"
} } }
{ "choice", { { {
tags = {},
text = "aa"
} }, { {
tags = {},
text = "ab"
} } } }
{ "text", { {
tags = {},
text = "-> ab"
} } }
{ "choice", { { {
tags = {},
text = "c"
} } } }
{ "text", { {
tags = {},
text = "-> c"
} } }
{ "choice", { { {
tags = {},
text = "a"
} }, { {
tags = {},
text = "b"
} } } }
{ "text", { {
tags = {},
text = "-> b"
} } }
{ "text", { {
tags = {},
text = "autoflush"
} } }
{ "choice", { { {
tags = {},
text = "c"
} } } }
{ "text", { {
tags = {},
text = "-> c"
} } }
{ "choice", { { {
tags = {},
text = "aa"
} }, { {
tags = {},
text = "ab"
} } } }
{ "text", { {
tags = {},
text = "-> ab"
} } }
{ "text", { {
tags = {},
text = "autoflush"
} } }
{ "choice", { { {
tags = {},
text = "c"
} } } }
{ "text", { {
tags = {},
text = "-> c"
} } }
{ "choice", { { {
tags = {},
text = "a"
} }, { {
tags = {},
text = "b"
} }, { {
tags = {},
text = "c"
} } } }
{ "text", { {
tags = {},
text = "-> a"
} } }
{ "choice", { { {
tags = <1>{},
text = "aa"
} }, { {
tags = <table 1>,
text = "ab"
} } } }
{ "text", { {
tags = {},
text = "-> aa"
} } }
{ "choice", { { {
tags = {},
text = "aa"
} }, { {
tags = {},
text = "ab"
} } } }
{ "text", { {
tags = {},
text = "-> aa"
} } }
{ "choice", { { {
tags = {},
text = "a"
} }, { {
tags = {},
text = "b"
} }, { {
tags = {},
text = "c"
} } } }
{ "error", "invalid choice; in event flush at test/tests/resume from paragraph with nested choice.ans:76" }
]]--