Changeset 2260d9e1 for doc


Ignore:
Timestamp:
Oct 5, 2020, 9:43:44 AM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
179510c5
Parents:
d7962de
Message:

update to CFAStyle macro, add red highlighting for C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/fangren_yu_COOP_S20/Report.tex

    rd7962de r2260d9e1  
    4040%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    4141
    42 \CFADefaults
     42\CFAStyle                                                                                               % CFA code-style for all languages
    4343\lstset{
    44 language=C++,                                                                                   % make C++ the default language
     44language=C++,moredelim=**[is][\color{red}]{@}{@}                % make C++ the default language
    4545}% lstset
    4646\lstnewenvironment{C++}[1][]                            % use C++ style
    47 {\lstset{language=C++,moredelim=**[is][\color{red}]{@}{@},#1}}{}
     47{\lstset{language=C++,moredelim=**[is][\color{red}]{@}{@}}\lstset{#1}}{}
    4848
    4949%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    8888\section{Overview}
    8989
    90 cfa-cc is the reference compiler for the \CFA programming language, which is a non-object-oriented extension to C.
     90@cfa-cc@ is the reference compiler for the \CFA programming language, which is a non-object-oriented extension to C.
    9191\CFA attempts to introduce productive modern programming language features to C while maintaining as much backward-compatibility as possible, so that most existing C programs can seamlessly work with \CFA.
    9292
Note: See TracChangeset for help on using the changeset viewer.