WikiDiscuss

WikiDiscuss


PEG Morphology Algorithm

posts: 14214

On Mon, Dec 27, 2004 at 07:58:24AM -0500, Pierre Abbat wrote:
> On Monday 27 December 2004 02:25, Robin Lee Powell wrote:
> > On Mon, Dec 27, 2004 at 02:16:11AM -0500, Pierre Abbat wrote:
> > > First thing I see is that camxes is trying to lex lines
> > > beginning with number signs, which in my test file are
> > > comments.
> >
> > Yeah, I know. I figured it would be a test case like any other,
> > but it looks like valfending actually *drops* lines that start
> > with #.
> >
> > That's, umm, a rather idiosyncratic piece of behaviour.
>
> So how should comments in the test file be indicated?

You can indicate them however you like, but it's not the job of the
program being tested to ignore comments, it's the job of the test
harness to cause them to not be dealt with as necessary (which I
have now done). Having the program being tested know about the
format of comments in the test suite is, as I said, very
idiosyncratic.

-Robin