source: src/CompilationState.h @ aa144c5a

ADTast-experimentalpthread-emulation
Last change on this file since aa144c5a was 00da199, checked in by Henry Xue <y58xue@…>, 3 years ago

Add a switch to print AST after exdecl pass

  • Property mode set to 100644
File size: 1011 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// CompilationState.h --
8//
9// Author           : Rob Schluntz
10// Created On       : Mon Ju1 30 10:47:01 2018
11// Last Modified By : Henry Xue
12// Last Modified On : Tue Jul 20 04:27:35 2021
13// Update Count     : 5
14//
15
16extern int yydebug;                   // set for -g flag (Grammar)
17extern int
18        astp,
19        bresolvep,
20        bboxp,
21        bcodegenp,
22        ctorinitp,
23        declstatsp,
24        exdeclp,
25        exprp,
26        expraltp,
27        genericsp,
28        libcfap,
29        nopreludep,
30        genproto,
31        deterministic_output,
32        useNewAST,
33        nomainp,
34        parsep,
35        resolvep,
36        resolvprotop,
37        symtabp,
38        treep,
39        tuplep,
40        validp,
41        errorp,
42        codegenp,
43        prettycodegenp,
44        linemarks;
45
46// is the compiler building prelude or libcfa?
47inline bool buildingLibrary() {
48        return libcfap | treep;
49}
50
51// Local Variables: //
52// tab-width: 4 //
53// mode: c++ //
54// compile-command: "make install" //
55// End:  //
Note: See TracBrowser for help on using the repository browser.