Changeset 784deab for include/dialog.h


Ignore:
Timestamp:
Jan 8, 2016, 10:37:10 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
61f9356
Parents:
1cced28
Message:

fix recursive include bug in shadow includes, major clean of examples, add several long long routines to prelude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/dialog.h

    r1cced28 r784deab  
    1010// Created On       : Sun Jun 28 08:34:16 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Jun 28 09:05:35 2015
    13 // Update Count     : 4
     12// Last Modified On : Mon Dec 21 08:38:21 2015
     13// Update Count     : 11
    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_DIALOG_H__
    21 #endif // type
    22 #include_next <dialog.h>
    23 #ifdef __CFA_DIALOG_H__
     20#endif // ! type
     21
     22#include_next <dialog.h>                                                                // has internal check for multiple expansion
     23
     24#if defined( type ) && defined( __CFA_DIALOG_H__ )              // reset only if set
    2425#undef type
    25 #endif // __CFA_DIALOG_H__
     26#undef __CFA_DIALOG_H__
     27#endif // type && __CFA_DIALOG_H__
    2628
    2729// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.