Changeset e9a3c69d for doc/user/user.tex


Ignore:
Timestamp:
Jul 13, 2017, 11:48:01 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
35b06a8, 578e6037
Parents:
3f5a28b
Message:

allow lstinline in section headings with PDF TOC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r3f5a28b re9a3c69d  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Thu Jul 13 07:08:58 2017
    14 %% Update Count     : 2673
     13%% Last Modified On : Thu Jul 13 11:44:57 2017
     14%% Update Count     : 2690
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    501501
    502502
    503 \section{Labelled Continue/Break}
     503\section{\texorpdfstring{Labelled \LstKeywordStyle{continue} / \LstKeywordStyle{break}}{Labelled continue / break}}
    504504
    505505While C provides ©continue© and ©break© statements for altering control flow, both are restricted to one level of nesting for a particular control structure.
     
    633633
    634634
    635 \section{Switch Statement}
     635\section{\texorpdfstring{\LstKeywordStyle{switch} Statement}{switch Statement}}
    636636
    637637C allows a number of questionable forms for the ©switch© statement:
     
    838838
    839839
    840 \section{Case Clause}
     840\section{\texorpdfstring{\LstKeywordStyle{case} Clause}{case Clause}}
    841841
    842842C restricts the ©case© clause of a ©switch© statement to a single value.
     
    914914
    915915
    916 \section{\protect\lstinline{with} Clause / Statement}
     916\section{\texorpdfstring{\LstKeywordStyle{with} Clause / Statement}{with Clause / Statement}}
    917917\label{s:WithClauseStatement}
    918918
     
    921921class C {
    922922        int i, j;
    923         int mem() {
     923        int mem() {              ®// implicit "this" parameter
    924924                i = 1;          ®// this->i
    925925®               j = 3;          ®// this->j
     
    932932        int i, j;
    933933};
    934 int mem( C &this ) {
    935         ®this.®i = 1;   // "this" is not elided
     934int mem( C &this ) {    // explicit "this" parameter
     935        ®this.®i = 1;                     // "this" is not elided
    936936        ®this.®j = 2;
    937937}
     
    964964        ®with s1® {
    965965                // access fields of s1 without qualification
    966                 ®with s2® { // nesting
     966                ®with s2® {  // nesting
    967967                        // access fields of s2 without qualification
    968968                }
     
    987987}
    988988\end{cfa}
     989
    989990
    990991\section{Exception Handling}
     
    12211222
    12221223
    1223 \section{Pointer/Reference}
     1224\section{Pointer / Reference}
    12241225
    12251226C provides a \newterm{pointer type};
     
    53435344
    53445345
    5345 \section{\CFA Keywords}
     5346\section{\texorpdfstring{\CFA Keywords}{Cforall Keywords}}
    53465347\label{s:CFAKeywords}
    53475348
Note: See TracChangeset for help on using the changeset viewer.