aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.moon
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-01-28 00:41:53 +0800
committerLi Jin <dragon-fly@qq.com>2020-01-28 01:10:31 +0800
commitfb47c11bd942c83317f1f9a2e255535649401cbf (patch)
tree3fb35b9b23911a37c4e4499cf650792ba2b8b21c /spec/inputs/syntax.moon
parent27717564cb1ab72c88c10a8392b6795ddea7a0ef (diff)
downloadyuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.tar.gz
yuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.tar.bz2
yuescript-fb47c11bd942c83317f1f9a2e255535649401cbf.zip
Add multi-line comment support. Add escape new line symbol. Add back call syntax.
Diffstat (limited to 'spec/inputs/syntax.moon')
-rw-r--r--spec/inputs/syntax.moon10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index bf0cf04..3ac9991 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -270,3 +270,13 @@ z = a- b
270 270
271 271
272-- cooool 272-- cooool
273
274str = --[[
275This is a multi line comment.
276It's OK.
277]] strA \ -- comment 1
278 .. strB \ -- comment 2
279 .. strC
280
281func --[[port]] 3000, --[[ip]] "192.168.1.1"
282