mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-05 23:39:28 +00:00
FStar language: add single-line comments (#670)
This commit is contained in:
parent
47a066cc00
commit
5cd3a38392
|
@ -387,6 +387,7 @@
|
|||
"Fstar": {
|
||||
"name": "F*",
|
||||
"quotes": [["\\\"", "\\\""]],
|
||||
"line_comment": ["//"],
|
||||
"multi_line_comments": [["(*", "*)"]],
|
||||
"extensions": ["fst"]
|
||||
},
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(* 10 lines 3 code 4 comments 3 blanks *)
|
||||
(* 11 lines 3 code 5 comments 3 blanks *)
|
||||
|
||||
module Hello
|
||||
|
||||
(* multi
|
||||
line
|
||||
comment *)
|
||||
open FStar.IO
|
||||
open FStar.IO // uncounted comment
|
||||
|
||||
// single line comment
|
||||
let main = print_string "Hello, F*!\n" (* uncounted comment *)
|
||||
|
|
Loading…
Reference in a new issue