aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/comments.txt
blob: 2048f530124d26ffe026664f766fc26a7876a272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
==================
comments
==================

module

(*
  This is multi-line
  docblock
*)

-- This is a single-line comment.

end.

Everything after the module terminator is ignored and is never scanned, so it
does not have to be Elna: proc 1 2 3 "unterminated

---

(source_file
  (module_declaration
    (comment)
    (comment))
  (trailing_content))