diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-18 09:50:37 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-18 09:50:37 -0400 |
| commit | 900445604bc38ef43d89f0c11f0cc61ce3cb0bce (patch) | |
| tree | 3d93a2e960a1b15714a59fc2f6563d77a04603a9 /docs/language | |
| parent | 0851f961defa2e39d65815b8946238431c54a15f (diff) | |
char literal example
Diffstat (limited to 'docs/language')
| -rw-r--r-- | docs/language/index.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/language/index.md b/docs/language/index.md index 4454306..c0c4792 100644 --- a/docs/language/index.md +++ b/docs/language/index.md @@ -51,10 +51,11 @@ Underscores `_` can separate digits in a number 1_ // Invalid ``` -## String Literals +## String and Char Literals ```text "Asdf\n" +'A' ``` Any UTF-8 glyph is allowed between `""` @@ -62,6 +63,7 @@ Any UTF-8 glyph is allowed between `""` ```text Ω // Invalid code "Ω" // Valid code +'Ω' // Valid code ``` ## Variable Names |
