Skip to content

Commit

Permalink
Move some macros to macros.tex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eelis committed Jan 15, 2020
1 parent 931e200 commit 075bf4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions source/macros.tex
Expand Up @@ -633,6 +633,12 @@
\newenvironment{defnote}{\addtocounter{termnote}{1}\noteintro{Note \thetermnote{} to entry}}{\noteoutro{note}\space}


% FIXME: For now, keep the format grammar productions out of the index, since
% they conflict with the main grammar.
% Consider renaming these en masse (to fmt-* ?) to avoid this problem.
\newcommand{\fmtnontermdef}[1]{{\BnfNontermshape#1\itcorr}\textnormal{:}}
\newcommand{\fmtgrammarterm}[1]{\gterm{#1}}

%%-------------------------------------------------
%% cxxdraft-htmlgen macros

Expand Down
6 changes: 0 additions & 6 deletions source/utilities.tex
Expand Up @@ -19642,12 +19642,6 @@

\rSec3[format.string.general]{In general}

% FIXME: For now, keep the format grammar productions out of the index, since
% they conflict with the main grammar.
% Consider renaming these en masse (to fmt-* ?) to avoid this problem.
\newcommand{\fmtnontermdef}[1]{{\BnfNontermshape#1\itcorr}\textnormal{:}}
\newcommand{\fmtgrammarterm}[1]{\gterm{#1}}

\pnum
A \defn{format string} is a (possibly empty) sequence of
\defnx{replacement fields}{replacement field!format string},
Expand Down

0 comments on commit 075bf4a

Please sign in to comment.