/*
% $Header: /usr/export/home/projects/ltg2/Pleuk/Distribution/Pleuk/Cfg/RCS/configure,v 1.1 1993/05/17 13:24:53 pleuk Exp $
% $Log: configure,v $
# Revision 1.1  1993/05/17  13:24:53  pleuk
# *** empty log message ***
#
# Revision 1.0  1993/04/27  09:31:24  pleuk
# Version 1.00beta from Jo
#
% A simple context free grammar system
*/
:- eccs_major_module('cfg', "A simple context-free grammar system Thu Jul 18 15:26:04 1991",
	'../Cfg', 'cfg.pl', 
    [cfg_object]).

:- eccs_new_file_type(cfg_object, ".cfg",
	eccs_cfg_read, 
	eccs_cfg_compile, [start_symbol, rule, lexical_entry],  true, true, local,
	unique). 

/*

This is ugly, but things go wrong if we try and determine a load order
when there's only one type of file.

*/

:- eccs_new_file_type('DUMMY', ".dummy",
	eccs_cfg_read, 
	eccs_cfg_compile, ['DUMMY'],  true, true, local,
	unique). 


:- eccs_new_object_type(rule, single, eccs_cfg_print).
:- eccs_new_object_type(lexical_entry, single, eccs_cfg_print).
:- eccs_new_object_type(start_symbol, single, eccs_cfg_print).

:- eccs_hidden_types(['DUMMY']).

:- eccs_module_dependency(rule < 'DUMMY').

/* this is ugly too */

:- dynamic eccs_submenu_type/1.

