Skip to content

Commit

Permalink
Add HiCAD to languages.json
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick.joerg committed Apr 18, 2023
1 parent 29bdd1e commit 9afdbef
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 9afdbef

Please # to comment.