mirror of
https://github.com/XAMPPRocky/tokei.git
synced 2026-10-11 22:29:59 +00:00
feat: Added C3 programming language. (#1319)
* Added C3 programming language * Update c3.c3 * Corrected C3 test file.
This commit is contained in:
@@ -207,6 +207,12 @@
|
||||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["c", "ec", "pgc"]
|
||||
},
|
||||
"C3": {
|
||||
"line_comment": ["//"],
|
||||
"multi_line_comments": [["/*", "*/"]],
|
||||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["c3"]
|
||||
},
|
||||
"Cabal": {
|
||||
"nested": true,
|
||||
"line_comment": ["--"],
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/* 8 lines 6 code 1 comments 1 blanks */
|
||||
|
||||
fn int main() {
|
||||
int x = 5; /* Multline line comment */
|
||||
io::printn("Hello, world!");
|
||||
int y = 4; // Single line comment.
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user