[mercury-users] Unable to parse single character comma

Daniel Patterson lists.mercury at dbp.mm.st
Tue Nov 15 14:55:15 AEDT 2011


When trying to use a literal character comma like:

Char = ','

The parser says there is a syntax error:

Syntax error at token ',': operator precedence error.

When I replace it with:

string.char_to_string(C, ","), Char = C

Then it works fine. This seems like something is wrong, but maybe I'm just not understanding how single quoted characters work? 

(This is on 11.01).

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list