Skip to content

Commit 4b499e3

Browse files
committed
[macros] Remove unused macro '\nonterminal'
See also #1312.
1 parent f91e85b commit 4b499e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/macros.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,10 @@
387387
\setlength{\BnfRest}{2\BnfIndent}
388388
\newcommand{\BnfNontermshape}{\small\rmfamily\itshape}
389389
\newcommand{\BnfTermshape}{\small\ttfamily\upshape}
390-
\newcommand{\nonterminal}[1]{{\BnfNontermshape #1}}
391390

392391
\newenvironment{bnfbase}
393392
{
394-
\newcommand{\nontermdef}[1]{\nonterminal{##1\itcorr}\indexgrammar{\idxgram{##1}}\textnormal{:}}
393+
\newcommand{\nontermdef}[1]{{\BnfNontermshape##1\itcorr}\indexgrammar{\idxgram{##1}}\textnormal{:}}
395394
\newcommand{\terminal}[1]{{\BnfTermshape ##1}\xspace}
396395
\newcommand{\descr}[1]{\textnormal{##1}}
397396
\newcommand{\bnfindentfirst}{\BnfIndent}

0 commit comments

Comments
 (0)