Changeset 7880579 for src/main.cc


Ignore:
Timestamp:
Aug 16, 2016, 8:59:49 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:
0da3e2c, 13e3b50, 7527e63
Parents:
b1848a0
Message:

more refactoring of parser code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rb1848a0 r7880579  
    1010// Created On       : Fri May 15 23:12:02 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Aug  6 16:17:41 2016
    13 // Update Count     : 210
     12// Last Modified On : Mon Aug 15 17:58:57 2016
     13// Update Count     : 220
    1414//
    1515
    1616#include <iostream>
    1717#include <fstream>
    18 #include <cstdlib>
    19 #include <cstdio>
    2018#include <getopt.h>
    2119#include "Parser/Parser.h"
    22 #include "Parser/ParseNode.h"
    23 #include "Parser/LinkageSpec.h"
    2420#include "SynTree/Declaration.h"
    2521#include "SynTree/Visitor.h"
     
    4339#include "InitTweak/GenInit.h"
    4440#include "InitTweak/FixInit.h"
    45 //#include "Explain/GenProlog.h"
    46 //#include "Try/Visit.h"
    4741
    4842#include "Common/SemanticError.h"
     
    384378        std::list< Declaration * > decls;
    385379        if ( noprotop ) {
    386                 filter( translationUnit.begin(), translationUnit.end(),
    387                                 std::back_inserter( decls ), notPrelude );
     380                filter( translationUnit.begin(), translationUnit.end(), std::back_inserter( decls ), notPrelude );
    388381        } else {
    389382                decls = translationUnit;
Note: See TracChangeset for help on using the changeset viewer.