Skip to content

Commit 2e9e6ca

Browse files
authored
Merge pull request #426 from jakubtomsu/master
Add support for the Odin programming language
2 parents 28d05b3 + 3aa3d98 commit 2e9e6ca

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

LANGUAGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ nuspec (nuspec)
175175
Objective C (m)
176176
Objective C++ (mm)
177177
OCaml (ml,mli)
178+
Odin (odin)
178179
Opalang (opa)
179180
Org (org)
180181
Oz (oz)

languages.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8753,5 +8753,39 @@
87538753
"start": "\""
87548754
}
87558755
]
8756+
},
8757+
"Odin": {
8758+
"complexitychecks": [
8759+
"for ",
8760+
"for(",
8761+
"if ",
8762+
"if(",
8763+
"when ",
8764+
"switch ",
8765+
"defer ",
8766+
"else ",
8767+
"|| ",
8768+
"&& ",
8769+
"!= ",
8770+
"== "
8771+
],
8772+
"extensions": [
8773+
"odin"
8774+
],
8775+
"line_comment": [
8776+
"//"
8777+
],
8778+
"multi_line": [
8779+
[
8780+
"/*",
8781+
"*/"
8782+
]
8783+
],
8784+
"quotes": [
8785+
{
8786+
"end": "\"",
8787+
"start": "\""
8788+
}
8789+
]
87568790
}
87578791
}

processor/constants.go

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)