From: Carlos Maniero <carlos@maniero.me>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Carlos Maniero <carlos@maniero.me>
Subject: [PATCH olang] fixup! docs: info: add while-loop to getting started
Date: Wed, 09 Oct 2024 22:20:30 +0000 (UTC) [thread overview]
Message-ID: <20241009221652.209738-2-carlos@maniero.me> (raw)
In-Reply-To: <20241009145402.318542-1-johnny@johnnyrichard.com>
The If-else does not have title but the while has. WDYT about adding
subsection for them both?
I'm leaving it approved anyway it is just a suggestion.
---->8----
Subject: [PATCH olang] fixup! docs: info: add while-loop to getting started
---
docs/info/getting-started.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/info/getting-started.texi b/docs/info/getting-started.texi
index 4cb2e26..42b1438 100644
--- a/docs/info/getting-started.texi
+++ b/docs/info/getting-started.texi
@@ -68,6 +68,8 @@ var answer: u32 = 42
Any non zero expr is true.
+@subsection If-Else
+
@verbatim
if expr {
# statement
@@ -78,7 +80,7 @@ if expr {
}
@end verbatim
-While loop
+@subsection While loop
@verbatim
while expr {
--
2.46.0
next prev parent reply other threads:[~2024-10-09 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 14:53 [PATCH olang v1] " Johnny Richard
2024-10-09 12:54 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-09 22:20 ` Carlos Maniero [this message]
2024-10-16 21:44 ` [PATCH olang] fixup! docs: info: add while-loop to getting started Johnny Richard
2024-10-16 19:52 ` [PATCH olang v1] " Carlos Maniero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241009221652.209738-2-carlos@maniero.me \
--to=carlos@maniero.me \
--cc=~johnnyrichard/olang-devel@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox