Skip to content

Commit

Permalink
Add HiCAD to languages.json (XAMPPRocky#985)
Browse files Browse the repository at this point in the history
Co-authored-by: patrick.joerg <patrick.joerg@gilgends.com>
  • Loading branch information
petrisch and patrick.joerg authored Apr 20, 2023
1 parent 29bdd1e commit d4a1814
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,11 @@
"blank": true,
"extensions": ["hex"]
},
"HiCad": {
"name": "HICAD",
"line_comment": ["REM", "rem"],
"extensions": ["MAC", "mac"]
},
"Hlsl": {
"name": "HLSL",
"line_comment": ["//"],
Expand Down
10 changes: 10 additions & 0 deletions tests/data/hicad.mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
REM 10 lines 4 code 3 comments 3 blanks
START 59

REM Comment on a line
%XY:=42

rem This is also a comment
IF FOO= "foo" GOTO 10

END

0 comments on commit d4a1814

Please sign in to comment.