[Nasm-bugs] [Bug 3392481] New: nasmdoc.pdf code example contains U+2212 'MINUS SIGN' instead of U+002D 'HYPHEN-MINUS'
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Sun May 13 05:52:54 PDT 2018
https://bugzilla.nasm.us/show_bug.cgi?id=3392481
Bug ID: 3392481
Summary: nasmdoc.pdf code example contains U+2212 'MINUS SIGN'
instead of U+002D 'HYPHEN-MINUS'
Product: NASM
Version: 2.13.xx
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Documentation
Assignee: nobody at nasm.us
Reporter: pushbx at 38.de
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Binary from nasm.us
I noticed that the PDF file at https://www.nasm.us/xdoc/2.13.03/nasmdoc.pdf
contains, eg on page 51, the following text:
This can be done by the following definition:
%macro multipop 1−*
%rep %0
%rotate −1
pop %1
%endrep
%endmacro
Note that the minus sign in the parameter count specifier and in the %rotate
directive is an U+2212 'MINUS SIGN', not the ASCII-range U+002D 'HYPHEN-MINUS'.
This seems likely related to the following halibut commit:
https://git.tartarus.org/?p=simon/halibut.git;a=commit;h=73e8c7d1b4ac77ec1b5acc700cb3af277a150bcf
(Halibut is a free documentation preparation system, the predecessor scripts of
which are used in nasm.)
Looking at the source code for the documentation, it does use U+002D as it
should:
http://repo.or.cz/nasm.git/blob/ef7d18bfbb899fe8e44f4fae8d6a12e2742f69f5:/doc/nasmdoc.src#l2693
This bug seems to be the cause of
https://bugzilla.nasm.us/show_bug.cgi?id=3392462
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Nasm-bugs
mailing list