aboutsummaryrefslogtreecommitdiff
path: root/language.md
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-09-02 16:57:07 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-09-02 16:57:07 +0100
commit1942efe3c45c87ef4f1c73d6078ff6487b820b53 (patch)
tree662458842355e034d1f188361a001a6c161390a4 /language.md
parentf66874f1f5066e57ef5761cd7c87b5d498fd89b6 (diff)
downloadmicro-lang-hs-1942efe3c45c87ef4f1c73d6078ff6487b820b53.tar.gz
micro-lang-hs-1942efe3c45c87ef4f1c73d6078ff6487b820b53.zip
Private only makes sense for global variables
Also make error reporting slightly better on statements.
Diffstat (limited to 'language.md')
-rw-r--r--language.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/language.md b/language.md
index 2440cc7..ec0a425 100644
--- a/language.md
+++ b/language.md
@@ -74,7 +74,7 @@ p; # whatever byte is in address 0x8000 (peek)
p = 0; # byte at 0x8000 is now 0 (poke)
```
-Variables are exported by default, unless they are defined as private:
+Global variables are exported by default, unless they are defined as private:
```
private val local: u8 = 123;
```