- Timestamp:
- Jul 31, 2016, 7:06:22 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 182fe1e
- Parents:
- 057b34f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
r057b34f r08061589 10 10 %% Author : Peter A. Buhr 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 %% Last Modified By : Peter A. Buhr13 %% Last Modified On : Wed Jul 13 08:14:39201614 %% Update Count : 12 4712 %% Last Modified By : 13 %% Last Modified On : Sun Jul 31 07:27:55 2016 14 %% Update Count : 1254 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 1778 1778 and 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. 1779 1779 \end{itemize} 1780 These observations help to put the suggestedchanges to the ©switch© into perspective.1780 These observations help to put the \CFA changes to the ©switch© into perspective. 1781 1781 \begin{enumerate} 1782 1782 \item … … 1788 1788 still work. 1789 1789 Nevertheless, reversing the default action would have a non-trivial effect on case actions that compound, such as the above example of processing shell arguments. 1790 Therefore, 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 ©fallthr u©, e.g.:1790 Therefore, 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.: 1791 1791 \begin{lstlisting} 1792 1792 ®choose® ( i ) { … … 4342 4342 4343 4343 4344 \section{New Keywowrds} 4345 4346 ©catch©, ©catchResume©, ©choose©, \quad ©disable©, ©dtype©, \quad ©enable©, \quad ©fallthrough©, ©fallthru©, ©finally©, ©forall©, ©ftype©, \quad ©lvalue©, \quad ©otype©, \quad ©throw©, ©throwResume©, ©trait©, ©try© 4347 4348 4344 4349 \section{Incompatible} 4345 4350
Note: See TracChangeset
for help on using the changeset viewer.