Skip to content

Commit

Permalink
Add support for Odin programming language
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubtomsu committed Jan 18, 2024
1 parent 28d05b3 commit 3aa3d98
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ nuspec (nuspec)
Objective C (m)
Objective C++ (mm)
OCaml (ml,mli)
Odin (odin)
Opalang (opa)
Org (org)
Oz (oz)
Expand Down
34 changes: 34 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8753,5 +8753,39 @@
"start": "\""
}
]
},
"Odin": {
"complexitychecks": [
"for ",
"for(",
"if ",
"if(",
"when ",
"switch ",
"defer ",
"else ",
"|| ",
"&& ",
"!= ",
"== "
],
"extensions": [
"odin"
],
"line_comment": [
"//"
],
"multi_line": [
[
"/*",
"*/"
]
],
"quotes": [
{
"end": "\"",
"start": "\""
}
]
}
}
4 changes: 2 additions & 2 deletions processor/constants.go

Large diffs are not rendered by default.

0 comments on commit 3aa3d98

Please sign in to comment.