[m-dev.] trivial diff: fix test case: \n -> \\n inside pragma c
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Feb 5 18:41:24 AEDT 2001
On 05-Feb-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 05-Feb-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > tests/debugger/tabled_read.m:
> > Fix a bug that broke this test case when using lcc:
> > C string literals inside pragma c_code must use `\\n'
> > rather than `\n'.
>
> Did you check for other occurences of this problem, in the library and browser
> directories, in code that may have been #ifdef'd out in the grade you were
> using?
I think I did a general search for this a fair while ago, when I first
encountered this problem; but this test case has been added since then.
I'm setting things up to run automatic nightly tests of lcc;
this will install the library and run the tests in a bunch of
different grades. That's how I found this occurence in tabled_read.m.
But since you mentioned it, I've done a semi-manual check with grep in
the library and browser directories. I didn't find any other occurrences.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list