Add HiCAD to languages.json (#985)

Co-authored-by: patrick.joerg <patrick.joerg@gilgends.com>
This commit is contained in:
petrisch 2023-04-20 11:39:16 +02:00 committed by GitHub
parent 29bdd1eff4
commit d4a1814758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -613,6 +613,11 @@
"blank": true,
"extensions": ["hex"]
},
"HiCad": {
"name": "HICAD",
"line_comment": ["REM", "rem"],
"extensions": ["MAC", "mac"]
},
"Hlsl": {
"name": "HLSL",
"line_comment": ["//"],

10
tests/data/hicad.mac Normal file
View File

@ -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