Skip to content

Commit 7fb2134

Browse files
authored
Merge pull request #184 from Decompollaborate/develop
1.32.3
2 parents bb505bc + 9106f1d commit 7fb2134

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.32.3] - 2025-02-18
11+
12+
### Fixed
13+
14+
- Avoid emitting `Handwritten function` comment when comments are disabled.
15+
1016
## [1.32.2] - 2025-02-12
1117

1218
### Fixed
@@ -1751,6 +1757,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17511757
- Version 1.0.0
17521758

17531759
[unreleased]: https://github.com/Decompollaborate/spimdisasm/compare/master...develop
1760+
[1.32.3]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.2...1.32.3
17541761
[1.32.2]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.1...1.32.2
17551762
[1.32.1]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.0...1.32.1
17561763
[1.32.0]: https://github.com/Decompollaborate/spimdisasm/compare/1.31.3...1.32.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you use a `requirements.txt` file in your repository, then you can add
6969
this library with the following line:
7070

7171
```txt
72-
spimdisasm>=1.32.2,<2.0.0
72+
spimdisasm>=1.32.3,<2.0.0
7373
```
7474

7575
### Development version

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[project]
55
name = "spimdisasm"
66
# Version should be synced with spimdisasm/__init__.py
7-
version = "1.32.2"
7+
version = "1.32.3"
88
description = "MIPS disassembler"
99
readme = "README.md"
1010
license = {file = "LICENSE"}

spimdisasm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from __future__ import annotations
77

8-
__version_info__: tuple[int, int, int] = (1, 32, 2)
8+
__version_info__: tuple[int, int, int] = (1, 32, 3)
99
__version__ = ".".join(map(str, __version_info__))# + "-dev0"
1010
__author__ = "Decompollaborate"
1111

spimdisasm/mips/symbols/MipsSymbolFunction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def disassemble(self, migrate: bool=False, useGlobalLabel: bool=True, isSplitted
859859
output += self.contextSym.getReferenceeSymbols()
860860
output += self.getPrevAlignDirective(0)
861861

862-
if self.isLikelyHandwritten:
862+
if self.isLikelyHandwritten and common.GlobalConfig.ASM_COMMENT:
863863
if not self.isRsp:
864864
# RSP functions are always handwritten, so this is redundant
865865
output += "/* Handwritten function */" + common.GlobalConfig.LINE_ENDS

0 commit comments

Comments
 (0)