mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 22:03:26 +00:00
Import only one compiler module per line. Sort the blocks of imports.
Estimated hours taken: 2 Branches: main compiler/*.m: Import only one compiler module per line. Sort the blocks of imports. This makes it easier to merge in changes. In a couple of places, remove unnecessary imports.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
%-----------------------------------------------------------------------------%
|
||||
% Copyright (C) 1996-2001 The University of Melbourne.
|
||||
% Copyright (C) 1996-2001, 2003 The University of Melbourne.
|
||||
% This file may only be copied under the terms of the GNU General
|
||||
% Public License - see the file COPYING in the Mercury distribution.
|
||||
%-----------------------------------------------------------------------------%
|
||||
@@ -19,7 +19,8 @@
|
||||
|
||||
:- interface.
|
||||
|
||||
:- import_module parse_tree__prog_data, parse_tree__prog_io_util.
|
||||
:- import_module parse_tree__prog_data.
|
||||
:- import_module parse_tree__prog_io_util.
|
||||
:- import_module varset, term.
|
||||
|
||||
:- pred parse_dcg_clause(module_name, varset, term, term,
|
||||
@@ -38,8 +39,11 @@
|
||||
|
||||
:- implementation.
|
||||
|
||||
:- import_module parse_tree__prog_io, parse_tree__prog_io_goal.
|
||||
:- import_module parse_tree__prog_util, check_hlds__purity.
|
||||
:- import_module check_hlds__purity.
|
||||
:- import_module parse_tree__prog_io.
|
||||
:- import_module parse_tree__prog_io_goal.
|
||||
:- import_module parse_tree__prog_util.
|
||||
|
||||
:- import_module int, map, string, std_util, list.
|
||||
|
||||
%-----------------------------------------------------------------------------%
|
||||
|
||||
Reference in New Issue
Block a user