Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e7a48e

Browse files
committed
Revert markup around list of display fields from the disassembler; it doesn't
look at good in print, but doesn't break the HTML.
1 parent 1f74016 commit 3e7a48e

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

Doc/lib/libdis.tex

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,14 @@ \section{Standard Module \module{dis}}
5151
Disassembles a code object, indicating the last instruction if \var{lasti}
5252
was provided. The output is divided in the following columns:
5353

54-
\newcounter{discounter}
55-
\begin{list}{\arabic{discounter}.}{%
56-
\usecounter{discounter}
57-
\setlength{\leftmargin}{4.5mm}
58-
\setlength{\labelsep}{1.5mm}}
54+
\begin{enumerate}
5955
\item the current instruction, indicated as \samp{-->},
6056
\item a labelled instruction, indicated with \samp{>>},
6157
\item the address of the instruction,
6258
\item the operation code name,
6359
\item operation parameters, and
6460
\item interpretation of the parameters in parentheses.
65-
\end{list}
61+
\end{enumerate}
6662

6763
The parameter interpretation recognizes local and global
6864
variable names, constant values, branch targets, and compare

Doc/libdis.tex

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,14 @@ \section{Standard Module \module{dis}}
5151
Disassembles a code object, indicating the last instruction if \var{lasti}
5252
was provided. The output is divided in the following columns:
5353

54-
\newcounter{discounter}
55-
\begin{list}{\arabic{discounter}.}{%
56-
\usecounter{discounter}
57-
\setlength{\leftmargin}{4.5mm}
58-
\setlength{\labelsep}{1.5mm}}
54+
\begin{enumerate}
5955
\item the current instruction, indicated as \samp{-->},
6056
\item a labelled instruction, indicated with \samp{>>},
6157
\item the address of the instruction,
6258
\item the operation code name,
6359
\item operation parameters, and
6460
\item interpretation of the parameters in parentheses.
65-
\end{list}
61+
\end{enumerate}
6662

6763
The parameter interpretation recognizes local and global
6864
variable names, constant values, branch targets, and compare

0 commit comments

Comments
 (0)