Changeset 182fe1e for doc/user


Ignore:
Timestamp:
Aug 1, 2016, 9:07:35 AM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
79f64f1
Parents:
c45170a (diff), 08061589 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

update switch documentation and LaTeX macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    rc45170a r182fe1e  
    1010%% Author           : Peter A. Buhr
    1111%% Created On       : Wed Apr  6 14:53:29 2016
     12<<<<<<< HEAD
    1213%% Last Modified By : Peter A. Buhr
    1314%% Last Modified On : Mon Aug  1 08:43:49 2016
    1415%% Update Count     : 1270
     16=======
     17%% Last Modified By :
     18%% Last Modified On : Sun Jul 31 07:27:55 2016
     19%% Update Count     : 1254
     20>>>>>>> 080615890f586cb9954c252b55cab47f52c25758
    1521%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1622
     
    17951801and there is only a medium amount of fall-through from one ©case© clause to the next, and most of these result from a list of case values executing common code, rather than a sequence of case actions that compound.
    17961802\end{itemize}
    1797 These observations help to put the suggested changes to the ©switch© into perspective.
     1803These observations help to put the \CFA changes to the ©switch© into perspective.
    17981804\begin{enumerate}
    17991805\item
     
    18051811still work.
    18061812Nevertheless, reversing the default action would have a non-trivial effect on case actions that compound, such as the above example of processing shell arguments.
     1813<<<<<<< HEAD
    18071814Therefore, to preserve backwards compatibility, it is necessary to introduce a new kind of ©switch© statement, called ©choose©, with no implicit fall-through semantics and an explicit fall-through if the last statement of a case-clause ends with the new keyword ©fallthru©, \eg:
     1815=======
     1816Therefore, to preserve backwards compatibility, it is necessary to introduce a new kind of ©switch© statement, called ©choose©, with no implicit fall-through semantics and an explicit fall-through if the last statement of a case-clause ends with the new keyword ©fallthrough©/©fallthru©, e.g.:
     1817>>>>>>> 080615890f586cb9954c252b55cab47f52c25758
    18081818\begin{lstlisting}
    18091819®choose® ( i ) {
     
    43594369
    43604370
     4371\section{New Keywowrds}
     4372
     4373©catch©, ©catchResume©, ©choose©, \quad ©disable©, ©dtype©, \quad ©enable©, \quad ©fallthrough©, ©fallthru©, ©finally©, ©forall©, ©ftype©, \quad ©lvalue©, \quad ©otype©, \quad ©throw©, ©throwResume©, ©trait©, ©try©
     4374
     4375
    43614376\section{Incompatible}
    43624377
Note: See TracChangeset for help on using the changeset viewer.