Files
mercury/tests/valid/bug380.m
Zoltan Somogyi 43fffc2395 Make hlc grades find MR_nth_code_unit and MR_offset_streq.
runtime/mercury.h
    As above. This fixes Mantis bug #380.

    Convert this module to four-space indentation.

tests/valid/bug380.m:
    Peter's test case for the bug.

tests/valid/Mmakefile:
    Enable the new test case.
2015-02-27 21:45:17 +11:00

42 lines
792 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
:- module bug380.
:- interface.
:- pred word(string).
:- mode word(in) is semidet.
:- mode word(out) is multi.
:- implementation.
% :- import_module string.
word("aback").
word("abaft").
word("abandon").
word("abandoned").
word("abandoning").
word("abandonment").
word("abandons").
word("abase").
word("abased").
word("abasement").
word("abasements").
word("abases").
word("abash").
word("abashed").
word("abashes").
word("abashing").
word("abasing").
word("abate").
word("abated").
word("abatement").
word("abatements").
word("abater").
word("abates").
word("abating").
word("abbe").
word("abbey").