[m-dev.] Character constants bug

Michael Day mcda at cat.cs.mu.OZ.AU
Fri Dec 17 22:53:19 AEDT 1999


Hi,

there appears to be a rather surprising feature in the precedence of
character constants, to the effect that using '.' or '(' and possibly
others will introduce syntax errors into code. These can be fixed by
parenthising the character, ('.') etc, but that is about as intuitive as a
kick to the head. Does it stem from the use of single quotes in quoting
unusual identifiers, such as predicate names containing spaces?

Michael



--------------------------------------------------------------------------
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