diff options
Diffstat (limited to 'spec/inputs/syntax.moon')
-rw-r--r-- | spec/inputs/syntax.moon | 10 |
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 | |||
274 | str = --[[ | ||
275 | This is a multi line comment. | ||
276 | It's OK. | ||
277 | ]] strA \ -- comment 1 | ||
278 | .. strB \ -- comment 2 | ||
279 | .. strC | ||
280 | |||
281 | func --[[port]] 3000, --[[ip]] "192.168.1.1" | ||
282 | |||