[mercury-users] String Runaway Reporting

Ondrej Bojar oboj7042 at ss1000.ms.mff.cuni.cz
Tue Aug 21 22:16:35 AEST 2001


Hi.

It whould be nice, if mmc could report missing quotes in a way similar to
perl's:

Bareword found where operator expected at clip.pl line 3, near "print "jak"
  (Might be a runaway multi-line "" string starting on line 1)

So far, mmc reports plain syntax error:

csts2uttr.m:025: Syntax error at token 'data': expected `,', `)', or operator.

(and makes unexperienced users to spend ten minutes searching docs on
module system, unmatching predicates definitions... :-)

Would it be hard to implement?

Thanks, Andrew.

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list