From 3372ff7c4b59e087facbb2e18827734626343082 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 2 Feb 2019 18:55:36 -0800 Subject: [PATCH] Add comment to goto example code to indicate that a label must be followed by a statement A label that is not followed by a statement results in a somewhat confusing compilation error. It is hoped that a simple comment in the example code will steer people in the right direction without requiring an increase in the complexity of the description or notes for goto. --- Language/Structure/Control Structure/goto.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/Language/Structure/Control Structure/goto.adoc b/Language/Structure/Control Structure/goto.adoc index 0f04ccfbd..65e830380 100644 --- a/Language/Structure/Control Structure/goto.adoc +++ b/Language/Structure/Control Structure/goto.adoc @@ -55,6 +55,7 @@ for(byte r = 0; r < 255; r++){ } bailout: +// more statements ... ---- [%hardbreaks]