Skip to content

Commit

Permalink
Merge pull request fsfe#1015 from kbroch-rivosinc/dev/kbroch/dev/kbro…
Browse files Browse the repository at this point in the history
…ch/octave-file-support

add octave/matlab file format support fsfe#357 fsfe#604
  • Loading branch information
carmenbianca committed Jul 1, 2024
2 parents 21e7005 + ad48a9a commit d1e6c04
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ 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)
- VHDL(`.vhdl`) (#564)
- Support alternate spelling `--skip-unrecognized`. (#974)
- In `annotate`, rename `--copyright-style` to `--copyright-prefix`. The former
parameter is still supported. (#973)
Expand Down
17 changes: 10 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 Expand Up @@ -808,6 +810,7 @@ class XQueryCommentStyle(CommentStyle):
".v": CppCommentStyle, # V-Lang source code
".vala": CppCommentStyle,
".vbproj": HtmlCommentStyle,
".vhdl": HaskellCommentStyle,
".vim": VimCommentStyle,
".vm": VelocityCommentStyle,
".vsh": CppCommentStyle, # V-Lang script
Expand Down

0 comments on commit d1e6c04

Please sign in to comment.