mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-28 17:20:22 +00:00
Add detection for the XC programming language.
This commit is contained in:
@@ -1222,6 +1222,13 @@ Visual Basic:
|
||||
- .vba
|
||||
- .vbs
|
||||
|
||||
XC:
|
||||
type: programming
|
||||
lexer: C
|
||||
primary_extension: .xc
|
||||
extensions:
|
||||
- .xc
|
||||
|
||||
XML:
|
||||
type: markup
|
||||
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