mirror of https://github.com/XAMPPRocky/tokei
Add d2 (#1091)
This commit is contained in:
parent
79b6a9055d
commit
3a352847e2
|
|
@ -361,6 +361,11 @@
|
|||
"nested_comments": [["/+", "+/"]],
|
||||
"extensions": ["d"]
|
||||
},
|
||||
"D2": {
|
||||
"line_comment": ["#"],
|
||||
"multi_line_comments": [["\\\"\\\"\\\"", "\\\"\\\"\\\""]],
|
||||
"extensions": ["d2"]
|
||||
},
|
||||
"Daml": {
|
||||
"name": "DAML",
|
||||
"nested": true,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
# 15 lines 4 code 6 comments 5 blanks
|
||||
|
||||
# Comments start with a hash character and continue until the next newline or EOF.
|
||||
x -> y
|
||||
|
||||
x -> y # I am at the end
|
||||
|
||||
'#x' -> "#y"
|
||||
|
||||
"""
|
||||
This is a
|
||||
block comment
|
||||
"""
|
||||
|
||||
y -> z
|
||||
Loading…
Reference in New Issue