Changeset 7f38b67a


Ignore:
Timestamp:
Jul 30, 2018, 4:43:48 PM (3 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
fd2debf
Parents:
2ff9f4a
git-author:
Rob Schluntz <rschlunt@…> (07/30/18 11:20:02)
git-committer:
Rob Schluntz <rschlunt@…> (07/30/18 16:43:48)
Message:

Factor global booleans into CompilationState?

Location:
src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    r2ff9f4a r7f38b67a  
    1919
    2020SRC = main.cc \
    21       MakeLibCfa.cc
     21      MakeLibCfa.cc \
     22      CompilationState.cc
    2223
    2324MAINTAINERCLEANFILES =
  • src/main.cc

    r2ff9f4a r7f38b67a  
    2828#include <string>                           // for char_traits, operator<<
    2929
     30#include "CompilationState.h"
    3031#include "../config.h"                      // for CFA_LIBDIR
    3132#include "CodeGen/FixMain.h"                // for FixMain
     
    7273DeclarationNode * parseTree = nullptr;                                  // program parse tree
    7374
    74 extern int yydebug;                                                                             // set for -g flag (Grammar)
    75 bool
    76         astp = false,
    77         bresolvep = false,
    78         bboxp = false,
    79         bcodegenp = false,
    80         ctorinitp = false,
    81         declstatsp = false,
    82         exprp = false,
    83         expraltp = false,
    84         genericsp = false,
    85         libcfap = false,
    86         nopreludep = false,
    87         noprotop = false,
    88         nomainp = false,
    89         parsep = false,
    90         resolvep = false,                                                                       // used in AlternativeFinder
    91         symtabp = false,
    92         treep = false,
    93         tuplep = false,
    94         validp = false,
    95         errorp = false,
    96         codegenp = false,
    97         prettycodegenp = false,
    98         linemarks = false;
    99 
    10075static void parse_cmdline( int argc, char *argv[], const char *& filename );
    10176static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit = false );
Note: See TracChangeset for help on using the changeset viewer.