mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add detection for the XC programming language.
This commit is contained in:
@@ -1222,6 +1222,13 @@ Visual Basic:
|
|||||||
- .vba
|
- .vba
|
||||||
- .vbs
|
- .vbs
|
||||||
|
|
||||||
|
XC:
|
||||||
|
type: programming
|
||||||
|
lexer: C
|
||||||
|
primary_extension: .xc
|
||||||
|
extensions:
|
||||||
|
- .xc
|
||||||
|
|
||||||
XML:
|
XML:
|
||||||
type: markup
|
type: markup
|
||||||
ace_mode: xml
|
ace_mode: xml
|
||||||
|
|||||||
10
samples/XC/main.xc
Normal file
10
samples/XC/main.xc
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
int main()
|
||||||
|
{
|
||||||
|
int x;
|
||||||
|
chan c;
|
||||||
|
par {
|
||||||
|
c <: 0;
|
||||||
|
c :> x;
|
||||||
|
}
|
||||||
|
return x;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user