aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/comments.txt
blob: 8c933ea832e4b677f9518221c4f60fa5bcd60e0b (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
  dockblock
*)

-- This is a one-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))