duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit 4e89006de870a1694a9526aecb3eadd565854ea1
parent a416e353f23b82f30eabfa8248eca44bf147faf3
Author: Michael Schierl <schierlm@gmx.de>
Date:   Wed, 26 Apr 2023 00:11:16 +0200

doc: Trivial documentation fixes

I noticed these while implementing framebuffer grid driver.

Diffstat:
Mfs/doc/gr/plane.txt | 4++--
Mfs/doc/struct.txt | 2+-
Mfs/doc/sys/file.txt | 1+
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/fs/doc/gr/plane.txt b/fs/doc/gr/plane.txt @@ -45,10 +45,10 @@ Methods: :pos! ( x y self -- ) Set current target position. -:x+ ( n self -- ) +:tx+ ( n self -- ) Increase tx by n, wrapping around if necessary. -:y+ ( n self -- ) +:ty+ ( n self -- ) Increase ty by n, wrapping around if necessary. :fill ( width height self -- ) diff --git a/fs/doc/struct.txt b/fs/doc/struct.txt @@ -105,7 +105,7 @@ rebound. So, you can rebind structbinds with the word "rebind" (we can't use All structs have a ":self" method which is a noop, and thus returns a reference to the associated data. This can be used to get a structbind's data reference: - data2 :self \ MyData1 is on PS TOS + MyData1 :self \ data2 is on PS TOS ## Other field types diff --git a/fs/doc/sys/file.txt b/fs/doc/sys/file.txt @@ -299,6 +299,7 @@ dstfile Structbind to File, defaults to 0 ## Path literals There are 2 words for Path/File shortcuts: p" and f". +These literals cannot be compiled. p" foo" is a shortcut for: