Skip to content

Commit d4a1814

Browse files
petrischpatrick.joerg
andauthored
Add HiCAD to languages.json (#985)
Co-authored-by: patrick.joerg <[email protected]>
1 parent 29bdd1e commit d4a1814

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

languages.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,11 @@
613613
"blank": true,
614614
"extensions": ["hex"]
615615
},
616+
"HiCad": {
617+
"name": "HICAD",
618+
"line_comment": ["REM", "rem"],
619+
"extensions": ["MAC", "mac"]
620+
},
616621
"Hlsl": {
617622
"name": "HLSL",
618623
"line_comment": ["//"],

tests/data/hicad.mac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
REM 10 lines 4 code 3 comments 3 blanks
2+
START 59
3+
4+
REM Comment on a line
5+
%XY:=42
6+
7+
rem This is also a comment
8+
IF FOO= "foo" GOTO 10
9+
10+
END

0 commit comments

Comments
 (0)