mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
More configurable handling of whitespace before decorators
This commit is contained in:
parent
e2b95b751b
commit
b9b59547ff
7 changed files with 124 additions and 36 deletions
|
|
@ -1,8 +1,8 @@
|
|||
local _={}
|
||||
_[7]={}
|
||||
_[6]={}
|
||||
_[5]={tags=_[7],text="ok bis"}
|
||||
_[4]={tags=_[6],text="ok"}
|
||||
_[5]={text="ok bis",tags=_[7]}
|
||||
_[4]={text="ok ",tags=_[6]}
|
||||
_[3]={_[4],_[5]}
|
||||
_[2]={"return"}
|
||||
_[1]={"text",_[3]}
|
||||
|
|
@ -10,7 +10,7 @@ return {_[1],_[2]}
|
|||
--[[
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "ok"
|
||||
text = "ok "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "ok bis"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ _[12]={}
|
|||
_[11]={}
|
||||
_[10]={}
|
||||
_[9]={}
|
||||
_[8]={tags=_[13],text="b"}
|
||||
_[7]={tags=_[12],text="a"}
|
||||
_[6]={tags=_[11],text="b"}
|
||||
_[5]={tags=_[10],text="seen only once"}
|
||||
_[4]={tags=_[9],text="a"}
|
||||
_[8]={text="b",tags=_[13]}
|
||||
_[7]={text="a",tags=_[12]}
|
||||
_[6]={text="b",tags=_[11]}
|
||||
_[5]={text="seen only once ",tags=_[10]}
|
||||
_[4]={text="a",tags=_[9]}
|
||||
_[3]={_[4],_[5],_[6],_[7],_[8]}
|
||||
_[2]={"return"}
|
||||
_[1]={"text",_[3]}
|
||||
|
|
@ -19,7 +19,7 @@ return {_[1],_[2]}
|
|||
text = "a"
|
||||
}, {
|
||||
tags = {},
|
||||
text = "seen only once"
|
||||
text = "seen only once "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue