]> git.lizzy.rs Git - uwu-lang.git/commitdiff
Actually fix multiline string literal example
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>
Thu, 30 Dec 2021 14:19:02 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Dec 2021 14:19:02 +0000 (15:19 +0100)
doc/syntax.md

index aa62fb633cabf2387d23ff874a4bd98af187113b..fcb30a0df3553deb35a98ad11134ab9f1b1e3181 100644 (file)
@@ -18,10 +18,15 @@ other_function_name
 An expression is either of these:
 
 - Integer literal: `0`, `1`, `3245`
-- String literal: `"hello, world"`, `""`, ```"this is
-a multiline
-string literal
-"```
+- String literal: `"hello, world"`, `""`,
+
+```
+"this is   
+a multiline   
+string literal    
+"
+```
+
 - Argument number: `$0`, `$1`, `$5` 
 - Function reference: `&function_name`
 - Function call: `function_name(args)` or just `function_name`, where args is a comma-separated list of expressions.