Ignore:
Timestamp:
Jul 13, 2018, 6:33:05 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
dffaeac
Parents:
8f91c9ae
Message:

fix bug or-ing flags for typedef/typegen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypedefTable.cc

    r8f91c9ae r26ef3b2  
    1010// Created On       : Sat May 16 15:20:13 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jul 11 11:47:47 2018
    13 // Update Count     : 255
     12// Last Modified On : Thu Jul 12 16:16:24 2018
     13// Update Count     : 256
    1414//
    1515
     
    100100void TypedefTable::up( bool forall ) {
    101101        level += 1;
    102         kindTable.getNote( kindTable.currentScope() ) = (Note){ level, forall | getEnclForall() };
     102        kindTable.getNote( kindTable.currentScope() ) = (Note){ level, forall || getEnclForall() };
    103103        debugPrint( cerr << "Up " << " level " << level << " note " << kindTable.getNote( level ).level << ", " << kindTable.getNote( level ).forall << endl; );
    104104} // TypedefTable::up
Note: See TracChangeset for help on using the changeset viewer.