Skip to content

Commit

Permalink
add octave/matlab file format support fsfe#604
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroch-rivosinc committed Jun 29, 2024
1 parent 33c331b commit e45e702
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Zsh (`.zshrc`) (#997)
- Perl test (`.t`) (#997)
- BATS test (`.bats`) (#997)
- Octave/Matlab (`.m`) (#604)
- Support alternate spelling `--skip-unrecognized` (#974)

### Changed
Expand Down
16 changes: 9 additions & 7 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V. <https://fsfe.org>
# SPDX-FileCopyrightText: 2019 Kirill Elagin
# SPDX-FileCopyrightText: 2020 Dmitry Bogatov
# SPDX-FileCopyrightText: 2021-2022 Alliander N.V. <https://alliander.com>
# SPDX-FileCopyrightText: 2021 Alvar Penning
# SPDX-FileCopyrightText: 2021 Robin Vobruba <[email protected]>
# SPDX-FileCopyrightText: 2021 Matija Šuklje <[email protected]>
# SPDX-FileCopyrightText: 2021 Robin Vobruba <[email protected]>
# SPDX-FileCopyrightText: 2021-2022 Alliander N.V. <https://alliander.com>
# SPDX-FileCopyrightText: 2022 Carmen Bianca Bakker <[email protected]>
# SPDX-FileCopyrightText: 2022 Florian Snow <[email protected]>
# SPDX-FileCopyrightText: 2022 Nico Rikken <[email protected]>
# SPDX-FileCopyrightText: 2022 Stefan Hynek <[email protected]>
# SPDX-FileCopyrightText: 2022 Carmen Bianca Bakker <[email protected]>
# SPDX-FileCopyrightText: 2022 Sebastian Crane <[email protected]>
# SPDX-FileCopyrightText: 2023 Redradix S.L. <[email protected]>
# SPDX-FileCopyrightText: 2022 Stefan Hynek <[email protected]>
# SPDX-FileCopyrightText: 2023 Juelich Supercomputing Centre, Forschungszentrum Juelich GmbH
# SPDX-FileCopyrightText: 2023 Kevin Meagher
# SPDX-FileCopyrightText: 2023 Mathias Dannesbo <[email protected]>
# SPDX-FileCopyrightText: 2023 Shun Sakai <[email protected]>
# SPDX-FileCopyrightText: 2023 Juelich Supercomputing Centre, Forschungszentrum Juelich GmbH
# SPDX-FileCopyrightText: 2023 Maxim Cournoyer <[email protected]>
# SPDX-FileCopyrightText: 2023 Redradix S.L. <[email protected]>
# SPDX-FileCopyrightText: 2023 Shun Sakai <[email protected]>
# SPDX-FileCopyrightText: 2024 Rivos Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -700,6 +701,7 @@ class XQueryCommentStyle(CommentStyle):
".lisp": LispCommentStyle,
".lsp": LispCommentStyle,
".lua": HaskellCommentStyle,
".m": TexCommentStyle,
".m4": M4CommentStyle,
".man": UnixManCommentStyle,
".markdown": HtmlCommentStyle,
Expand Down

0 comments on commit e45e702

Please sign in to comment.