diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/anagram/agcore/config.h	Sat Dec 22 17:52:45 2007 -0500
@@ -0,0 +1,108 @@
+/*
+ * AnaGram, A System for Syntax Directed Programming
+ * Copyright 1993-2002 Parsifal Software. All Rights Reserved.
+ * See the file COPYING for license and usage terms.
+ *
+ * config.h - configuration parameters
+ */
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+class AgString;
+
+#define INTEGER_PARAM(name) extern int name
+#define STRING_PARAM(name) extern AgString name
+#define SWITCH(name) extern int name
+#define CAST_PARAM(name) extern int name
+#define TOKEN_PARAM(name) extern int name
+#define TEXT_PARAM(name) extern AgString name
+
+SWITCH(allow_macros);
+SWITCH(auto_init);
+SWITCH(auto_resynch);
+
+SWITCH(backtrack);
+INTEGER_PARAM(    bottom_margin);
+SWITCH(bright_background);
+
+SWITCH(case_sensitive);
+STRING_PARAM(compile_command);
+SWITCH(const_data);
+TEXT_PARAM(context_type);
+STRING_PARAM(coverage_file_name);
+
+SWITCH(declare_pcb);
+CAST_PARAM(default_input_type);
+SWITCH(default_reductions);
+CAST_PARAM(default_token_type);
+SWITCH(diagnose_errors);
+SWITCH(distinguish_lexemes);
+
+STRING_PARAM(edit_command);
+SWITCH(enable_mouse);
+STRING_PARAM(enum_constant_name);
+TOKEN_PARAM(eof_token);
+SWITCH(error_frame);
+TOKEN_PARAM(error_token);
+SWITCH(error_trace);
+SWITCH(escape_backslashes);
+SWITCH(event_driven);
+
+SWITCH(far_tables);
+
+TOKEN_PARAM(grammar_token);
+
+STRING_PARAM(header_file_name);
+
+SWITCH(input_values);
+SWITCH(iso_latin_1);
+
+INTEGER_PARAM(line_length);
+SWITCH(       line_numbers);
+STRING_PARAM( line_numbers_path);
+SWITCH(lines_and_columns);
+
+SWITCH(main_program);
+INTEGER_PARAM(max_conflicts);
+
+SWITCH(near_functions);
+SWITCH(nest_comments);
+SWITCH(no_cr);
+
+SWITCH(old_style);
+
+INTEGER_PARAM(page_length);
+STRING_PARAM( parser_file_name);
+TEXT_PARAM(parser_name);
+CAST_PARAM(parser_stack_alignment);
+INTEGER_PARAM(parser_stack_size);
+SWITCH(pointer_input);
+TEXT_PARAM(pointer_type);
+STRING_PARAM(print_file_name);
+
+SWITCH(quick_reference);
+
+SWITCH(reduction_choices);
+SWITCH(reentrant_parser);
+SWITCH(rule_coverage);
+
+INTEGER_PARAM(tab_spacing);
+SWITCH(test_file_binary);
+STRING_PARAM( test_file_mask);
+SWITCH(test_range);
+SWITCH(token_names);
+SWITCH(token_names_only);
+INTEGER_PARAM( top_margin);
+SWITCH(traditional_engine);
+
+INTEGER_PARAM(video_mode);
+
+#undef PARAM
+#undef SWITCH
+#undef CAST_PARAM
+#undef TOKEN_PARAM
+#undef TEXT_PARAM
+
+
+#endif /* CONFIG_H */