Changeset 865249a for doc/refrat


Ignore:
Timestamp:
Sep 19, 2015, 8:32:30 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
a188b16
Parents:
ce6c57c
Message:

correct error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/refrat/refrat.tex

    rce6c57c r865249a  
    40864086case 1~5:
    40874087\end{lstlisting}
    4088 The multiple subranges are allowed:
     4088Multiple subranges are allowed:
    40894089\begin{lstlisting}
    40904090case 1~4, 9~14, 27~32:
    40914091\end{lstlisting}
    4092 
    4093 The \lstinline$case$ and \lstinline$default$ clauses are restricted within the \lstinline$switch$
    4094 and \lstinline$choose$ statements, precluding Duff's device.
     4092The \lstinline$case$ and \lstinline$default$ clauses are restricted within the \lstinline$switch$ and \lstinline$choose$ statements, precluding Duff's device.
    40954093
    40964094
     
    41124110choose ( E ) ...
    41134111\end{lstlisting}
    4114 may have more than one interpretation, but it shall have only one interpretation with an integral
    4115 type. An \Index{integer promotion} is performed on the expression if necessary.  The constant
    4116 expressions in \lstinline$case$ statements with the switch are converted to the promoted type.
     4112may have more than one interpretation, but it shall have only one interpretation with an integral type.
     4113An \Index{integer promotion} is performed on the expression if necessary.
     4114The constant expressions in \lstinline$case$ statements with the switch are converted to the promoted type.
    41174115
    41184116
     
    41224120The \lstinline$choose$ statement is the same as the \lstinline$switch$ statement except control transfers to the end of the \lstinline$choose$ statement at a \lstinline$case$ or \lstinline$default$ labeled statement.
    41234121The \lstinline$fallthru$ statement is used to fall through to the next \lstinline$case$ or \lstinline$default$ labeled statement.
    4124 
    41254122The following have identical meaning:
    41264123\begin{flushleft}
     
    41474144\end{tabular}
    41484145\end{flushleft}
    4149 The \lstinline$choose$ statement addresses the problem of accidental fall-through associated with
    4150 the \lstinline$switch$ statement.
     4146The \lstinline$choose$ statement addresses the problem of accidental fall-through associated with the \lstinline$switch$ statement.
    41514147
    41524148
     
    41824178\end{syntax}
    41834179
    4184 Labeled \lstinline$continue$ and \lstinline$break$ allow useful but restricted control-flow that
    4185 reduces the need for the \lstinline$goto$ statement for exiting multiple nested control-structures.
     4180Labeled \lstinline$continue$ and \lstinline$break$ allow useful but restricted control-flow that reduces the need for the \lstinline$goto$ statement for exiting multiple nested control-structures.
    41864181\begin{lstlisting}
    41874182L1: {                                                   // compound
Note: See TracChangeset for help on using the changeset viewer.