1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 00:59:31 +00:00

More configurable handling of whitespace before decorators

This commit is contained in:
Étienne Fildadut 2021-11-27 14:29:29 +01:00
parent e2b95b751b
commit b9b59547ff
7 changed files with 124 additions and 36 deletions

View file

@ -1,17 +1,18 @@
local _={}
_[18]={}
_[17]={}
_[16]={}
_[15]={}
_[14]={}
_[13]={}
_[12]={tags=_[17],text="ok"}
_[11]={tags=_[16],text="1"}
_[10]={tags=_[16],text="a.\240\159\145\129\239\184\143: "}
_[9]={tags=_[15],text="ko"}
_[8]={tags=_[14],text="In function:"}
_[7]={tags=_[13],text="0"}
_[6]={tags=_[13],text="a.\240\159\145\129\239\184\143: "}
_[5]={_[8],_[9],_[10],_[11],_[12]}
_[13]={text="ok",tags=_[18]}
_[12]={text=" ",tags=_[17]}
_[11]={text="1",tags=_[17]}
_[10]={text="a.\240\159\145\129\239\184\143: ",tags=_[17]}
_[9]={text="ko",tags=_[16]}
_[8]={text="In function:",tags=_[15]}
_[7]={text="0",tags=_[14]}
_[6]={text="a.\240\159\145\129\239\184\143: ",tags=_[14]}
_[5]={_[8],_[9],_[10],_[11],_[12],_[13]}
_[4]={_[6],_[7]}
_[3]={"return"}
_[2]={"text",_[5]}
@ -37,6 +38,9 @@ return {_[1],_[2],_[3]}
}, {
tags = <table 1>,
text = "1"
}, {
tags = <table 1>,
text = " "
}, {
tags = {},
text = "ok"