comparison anagram/agcore/config.h @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:13d2b8934445
1 /*
2 * AnaGram, A System for Syntax Directed Programming
3 * Copyright 1993-2002 Parsifal Software. All Rights Reserved.
4 * See the file COPYING for license and usage terms.
5 *
6 * config.h - configuration parameters
7 */
8
9 #ifndef CONFIG_H
10 #define CONFIG_H
11
12 class AgString;
13
14 #define INTEGER_PARAM(name) extern int name
15 #define STRING_PARAM(name) extern AgString name
16 #define SWITCH(name) extern int name
17 #define CAST_PARAM(name) extern int name
18 #define TOKEN_PARAM(name) extern int name
19 #define TEXT_PARAM(name) extern AgString name
20
21 SWITCH(allow_macros);
22 SWITCH(auto_init);
23 SWITCH(auto_resynch);
24
25 SWITCH(backtrack);
26 INTEGER_PARAM( bottom_margin);
27 SWITCH(bright_background);
28
29 SWITCH(case_sensitive);
30 STRING_PARAM(compile_command);
31 SWITCH(const_data);
32 TEXT_PARAM(context_type);
33 STRING_PARAM(coverage_file_name);
34
35 SWITCH(declare_pcb);
36 CAST_PARAM(default_input_type);
37 SWITCH(default_reductions);
38 CAST_PARAM(default_token_type);
39 SWITCH(diagnose_errors);
40 SWITCH(distinguish_lexemes);
41
42 STRING_PARAM(edit_command);
43 SWITCH(enable_mouse);
44 STRING_PARAM(enum_constant_name);
45 TOKEN_PARAM(eof_token);
46 SWITCH(error_frame);
47 TOKEN_PARAM(error_token);
48 SWITCH(error_trace);
49 SWITCH(escape_backslashes);
50 SWITCH(event_driven);
51
52 SWITCH(far_tables);
53
54 TOKEN_PARAM(grammar_token);
55
56 STRING_PARAM(header_file_name);
57
58 SWITCH(input_values);
59 SWITCH(iso_latin_1);
60
61 INTEGER_PARAM(line_length);
62 SWITCH( line_numbers);
63 STRING_PARAM( line_numbers_path);
64 SWITCH(lines_and_columns);
65
66 SWITCH(main_program);
67 INTEGER_PARAM(max_conflicts);
68
69 SWITCH(near_functions);
70 SWITCH(nest_comments);
71 SWITCH(no_cr);
72
73 SWITCH(old_style);
74
75 INTEGER_PARAM(page_length);
76 STRING_PARAM( parser_file_name);
77 TEXT_PARAM(parser_name);
78 CAST_PARAM(parser_stack_alignment);
79 INTEGER_PARAM(parser_stack_size);
80 SWITCH(pointer_input);
81 TEXT_PARAM(pointer_type);
82 STRING_PARAM(print_file_name);
83
84 SWITCH(quick_reference);
85
86 SWITCH(reduction_choices);
87 SWITCH(reentrant_parser);
88 SWITCH(rule_coverage);
89
90 INTEGER_PARAM(tab_spacing);
91 SWITCH(test_file_binary);
92 STRING_PARAM( test_file_mask);
93 SWITCH(test_range);
94 SWITCH(token_names);
95 SWITCH(token_names_only);
96 INTEGER_PARAM( top_margin);
97 SWITCH(traditional_engine);
98
99 INTEGER_PARAM(video_mode);
100
101 #undef PARAM
102 #undef SWITCH
103 #undef CAST_PARAM
104 #undef TOKEN_PARAM
105 #undef TEXT_PARAM
106
107
108 #endif /* CONFIG_H */