Skip to content

Commit

Permalink
Merge pull request #426 from jakubtomsu/master
Browse files Browse the repository at this point in the history
Add support for the Odin programming language
  • Loading branch information
boyter authored Jan 28, 2024
2 parents 28d05b3 + 3aa3d98 commit 2e9e6ca
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 2e9e6ca

Please sign in to comment.