diff --git a/rfcs/syntax-goto-statement.md b/rfcs/syntax-goto-statement.md index 7cdd4439..49f36673 100644 --- a/rfcs/syntax-goto-statement.md +++ b/rfcs/syntax-goto-statement.md @@ -38,7 +38,7 @@ end ``` The problems that this solution has are:
Messy: In a bigger scale this will get messy and confusing.
-Uneeded checks: Why to do those checks when we could just jump out directly? +Uneeded checks: Why do those checks when we could just jump out directly? @@ -54,7 +54,7 @@ while true do end end end -LoopEnd: -- Could follow Lua syntax(:LABEL:) +:LoopEnd: -- Could follow Lua syntax(:LABEL:) ``` @@ -62,12 +62,12 @@ LoopEnd: -- Could follow Lua syntax(:LABEL:) -`:` Sets a label
+`::` Sets a label
Notes:
A label can't be used in another scope ```lua function A() - FunctionStart: + :FunctionStart: do if Y == Y then