Changeset 36874e4 for include/expat.h


Ignore:
Timestamp:
Jan 12, 2016, 3:36:20 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
ebe9b3a
Parents:
b18b0b5 (diff), 61f9356 (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:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/expat.h

    rb18b0b5 r36874e4  
    1010// Created On       : Sun Jun 28 11:10:15 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jun 28 11:14:28 2015
    13 // Update Count     : 2
     12// Last Modified On : Mon Dec 21 08:57:26 2015
     13// Update Count     : 4
    1414
    1515// This include file uses the CFA keyword "type" as a field name of a structure.
    16 // The name is changed only for the include file.
    1716
    18 #ifndef type    // nesting ?
     17#if ! defined( type )                                                                   // nesting ?
    1918#define type `type`
    2019#define __CFA_EXPAT1_H__
    21 #endif // type
    22 #ifndef context // nesting ?
     20#endif // ! type
     21
     22#if ! defined( context )                                                                // nesting ?
    2323#define context `context`
    2424#define __CFA_EXPAT2_H__
    25 #endif // context
    26 #include_next <expat.h>
    27 #ifdef __CFA_EXPAT1_H__
     25#endif // ! context
     26
     27#include_next <expat.h>                                                                 // has internal check for multiple expansion
     28
     29#if defined( type ) && defined( __CFA_EXPAT1_H__ )              // reset only if set
    2830#undef type
    29 #endif // __CFA_EXPAT_H__
    30 #ifdef __CFA_EXPAT2_H__
    31 #undef type
    32 #endif // __CFA_EXPAT2_H__
     31#undef __CFA_EXPAT1_H__
     32#endif // type && __CFA_EXPAT1_H__
     33
     34#if defined( context ) && defined( __CFA_EXPAT2_H__ )   // reset only if set
     35#undef context
     36#undef __CFA_EXPAT2_H__
     37#endif // context && __CFA_EXPAT2_H__
    3338
    3439// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.