Commit 4e8e0c5
Add support for Zig and fix Hare comment style
Zig supports C99 single line comments, but not C multi-line comments.
Fix the comment style for Hare by using ZigCommentStyle, instead of
CCommentStyle.
I avoided adding support for zon (Zig Object Notation) files used by
the Zig package manager, since it is still in its early stages.
Closes #837
Closes #888
Signed-off-by: Carmen Bianca BAKKER <carmenbianca@fsfe.org>1 parent c540f46 commit 4e8e0c5
2 files changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
527 | 536 | | |
528 | 537 | | |
529 | 538 | | |
| |||
600 | 609 | | |
601 | 610 | | |
602 | 611 | | |
603 | | - | |
| 612 | + | |
604 | 613 | | |
605 | 614 | | |
606 | 615 | | |
| |||
712 | 721 | | |
713 | 722 | | |
714 | 723 | | |
715 | | - | |
716 | | - | |
| 724 | + | |
| 725 | + | |
717 | 726 | | |
718 | 727 | | |
719 | | - | |
| 728 | + | |
720 | 729 | | |
721 | 730 | | |
722 | 731 | | |
| |||
756 | 765 | | |
757 | 766 | | |
758 | 767 | | |
| 768 | + | |
759 | 769 | | |
760 | 770 | | |
761 | 771 | | |
| |||
0 commit comments