Changeset 8b7ee09 for src/main.cc


Ignore:
Timestamp:
Aug 19, 2016, 8:57:22 AM (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, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
ac71a86, e6955b1
Parents:
f487962
Message:

rename type LinkageSpec::Type to LinkageSpec::Spec, which affects many files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rf487962 r8b7ee09  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug 18 16:33:49 2016
    13 // Update Count     : 347
     12// Last Modified On : Fri Aug 19 08:31:22 2016
     13// Update Count     : 350
    1414//
    1515
     
    4343
    4444
    45 LinkageSpec::Type linkage = LinkageSpec::Cforall;
     45LinkageSpec::Spec linkage = LinkageSpec::Cforall;
    4646TypedefTable typedefTable;
    4747DeclarationNode * parseTree = nullptr;                                  // program parse tree
     
    6767
    6868static void parse_cmdline( int argc, char *argv[], const char *& filename );
    69 static void parse( FILE * input, LinkageSpec::Type t, bool shouldExit = false );
     69static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit = false );
    7070static void dump( std::list< Declaration * > & translationUnit, std::ostream & out = std::cout );
    7171
     
    348348} // parse_cmdline
    349349
    350 static void parse( FILE * input, LinkageSpec::Type link, bool shouldExit ) {
     350static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit ) {
    351351        extern int yyparse( void );
    352352        extern FILE * yyin;
    353353        extern int yylineno;
    354354
    355         linkage = link;                                                                         // set globals
     355        ::linkage = linkage;                                                            // set globals
    356356        yyin = input;
    357357        yylineno = 1;
Note: See TracChangeset for help on using the changeset viewer.