mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 04:14:06 +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:
@@ -13,7 +13,9 @@
|
||||
|
||||
:- 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 list, varset, term.
|
||||
|
||||
% parse the pragma declaration.
|
||||
@@ -22,9 +24,13 @@
|
||||
|
||||
:- implementation.
|
||||
|
||||
:- import_module libs__globals, parse_tree__prog_io, parse_tree__prog_io_goal.
|
||||
:- import_module libs__globals.
|
||||
:- import_module parse_tree__prog_io.
|
||||
:- import_module parse_tree__prog_io_goal.
|
||||
:- import_module parse_tree__prog_util.
|
||||
:- import_module transform_hlds__term_util, transform_hlds__term_errors.
|
||||
:- import_module transform_hlds__term_errors.
|
||||
:- import_module transform_hlds__term_util.
|
||||
|
||||
:- import_module int, map, string, std_util, bool, require, set.
|
||||
|
||||
parse_pragma(ModuleName, VarSet, PragmaTerms, Result) :-
|
||||
|
||||
Reference in New Issue
Block a user