Skip to content

Commit

Permalink
Fix Pandoc build (#144)
Browse files Browse the repository at this point in the history
For some reason pandoc doesn't like this formatting.
  • Loading branch information
llvm-beanz authored Dec 14, 2023
1 parent 07f16ba commit 802d456
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions specs/language/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@
\begin{grammar}
\define{postfix-expression}\br
primary-expression\br
postfix-expression \terminal{[} expression \terminal{]}\br
postfix-expression \terminal{[} braced-init-list \terminal{]}\br
% The [] characters on the two lines below should be inside \terminal, however
% pandoc doesn't seem to like that.
postfix-expression [ expression ]\br
postfix-expression [ braced-init-list ]\br %
postfix-expression \terminal{(} \opt{expression-list} \terminal{)}\br
simple-type-specifier \terminal{(} \opt{expression-list} \terminal{)}\br
typename-specifier \terminal{(} \opt{expression} \terminal{)}\br
Expand Down

0 comments on commit 802d456

Please sign in to comment.