diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-10 13:56:38 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-10 13:56:38 +0200 |
| commit | 4fd48a1b3acf131629a16a34facd8e8c71817a20 (patch) | |
| tree | 5fbd55053103d9f7e00ecf2f91d7792fd0fe9562 /_extensions | |
| parent | e1695e8ba48c09e77473bd9ba0cb707d05fd5464 (diff) | |
limit use of goto
Diffstat (limited to '_extensions')
| -rw-r--r-- | _extensions/ruc-play/semantic-markdown/semantic-markdown.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua index 1da95af..0ce1dcd 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -264,8 +264,7 @@ local function Statements (block) -- staying unenclosed else - table.insert(stack, el) - goto continue + stack_next = stack_next..el.text end end @@ -300,7 +299,6 @@ local function Statements (block) stack = {} -- TODO: parse remains of Str - goto continue end end |
