Skip to content

Commit 583df68

Browse files
authored
feat: remove duplicate LaTeX macro (#136)
1 parent b5143d0 commit 583df68

File tree

3 files changed

+1
-39
lines changed

3 files changed

+1
-39
lines changed

pkg/storage.sty

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,7 @@
33
\newcommand{\ula}[1]{\ulaPrimitive{\,\,#1}}
44
\newcommand{\ura}[1]{\uraPrimitive{#1\,\,}}
55
\newcommand{\COUNTER}{\col{COUNTER}}
6-
\newcommand{\STOSTP}{\col{STORAGE\_STAMP}}
7-
\newcommand{\iSTOSTP}{\imported{\STOSTP}}
8-
\newcommand{\stoStp}{\col{STO}\square}
9-
\newcommand{\iStoStp}{\imported{\stoStp}}
10-
%\newcommand{\REVSTOSTP}{\ula{\col{STORAGE\_STAMP}}}
11-
%\newcommand{\revStoStp}{\ula{\col{STO}\square}}
12-
\newcommand{\ORIGVALHI}{\col{ORIGINAL\_VALUE}\high}
13-
\newcommand{\ORIGVALLO}{\col{ORIGINAL\_VALUE}\low}
14-
\newcommand{\origValHi}{\col{ORIG}\high}
15-
\newcommand{\origValLo}{\col{ORIG}\low}
16-
\newcommand{\STOGAS}{\col{STORAGE\_GAS}}
17-
\newcommand{\stoGas}{\col{STOGAS}}
186
\newcommand{\REFUND}{\col{REFUND\_GAS}}
197
\newcommand{\refund}{\col{REFGAS}}
20-
\newcommand{\iSTOGAS}{\imported{\STOGAS}}
21-
\newcommand{\iStoGas}{\imported{\stoGas}}
22-
\newcommand{\iREFUND}{\imported{\REFUND}}
23-
\newcommand{\iRefund}{\imported{\refund}}
24-
\newcommand{\revStamp}{\stoStp\col{REV}}
25-
%\newcommand{\revStamp}{\stoStp\col{REV}}
26-
\newcommand{\iRevStamp}{\imported{\revStamp}}
27-
%\newcommand{\iRevStamp}{\imported{\revStamp}}
28-
\newcommand{\STOADDR}{\col{STORAGE\_ADDRESS}}
29-
\newcommand{\stoAddress}{\col{SADDR}}
308
\newcommand{\STOKEY}{\col{STORAGE\_KEY}}
319
\newcommand{\stoKey}{\col{KEY}}
32-
\newcommand{\iSTOKEY}{\imported{\STOKEY}}
33-
\newcommand{\iStoKey}{\imported{\stoKey}}
34-
\newcommand{\iSTOADDR}{\imported{\STOADDR}}
35-
\newcommand{\iStoAddr}{\imported{\stoAddress}}
36-
\newcommand{\FIRSTOCCFLAG}{\col{FIRST\_ACCESS\_FLAG}}
37-
\newcommand{\firstOccFlag}{\col{FACCF}}
38-
\newcommand{\LASTOCCFLAG}{\col{LAST\_ACCESS\_FLAG}}
39-
\newcommand{\lastOccFlag}{\col{LACCF}}
40-
% \newcommand{\TXFPEF}{\col{TX\_FIRST\_PROPER\_ENCOUNTER\_FLAG}}
41-
% \newcommand{\txfpef}{\col{TXFPEF}}
42-
\newcommand{\preWarm}{\col{PREWARM}}
43-
44-
\newcommand{\DIRTYCLEAR}{\col{REFUND\_DIRTY\_CLEAR}}
45-
\newcommand{\dirtyClear}{\col{REFDC}}
46-
\newcommand{\DIRTYRESET}{\col{REFUND\_DIRTY\_RESET}}
47-
\newcommand{\dirtyReset}{\col{REFDR}}

pkg/trm.sty

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
\newcommand{\rawAddrLo} {\col{RAW\_ADDR\_LO}}
44
\newcommand{\isPrecompile} {\col{IS\_PRECOMPILE}}
55
\newcommand{\trmLeadHi} {\col{leading\_bytes}}
6-
\newcommand{\first} {\col{FIRST}}
76

87
\newcommand{\maxPrecompileAddressName} {\red{\texttt{MAX\_PRC\_ADDRESS}}}
98
\newcommand{\maxPrecompileAddress} {\red{9}}

trm/_all_trm.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
\usepackage{../pkg/expansion}
1515
\usepackage{../pkg/exponent}
1616
\usepackage{../pkg/thm_env}
17+
\usepackage{../pkg/env}
1718
\usepackage{../pkg/offset_processor}
1819
\usepackage{../pkg/wc3}
1920
\usepackage{../pkg/xkeyval_macros/wcp_calls}

0 commit comments

Comments
 (0)