#218 ✓resolved
mike

error text in objj_preprocessor.prototype.selector incorrect

Reported by mike | February 11th, 2009 @ 08:55 AM | in 0.7

In Objective-J.js, the obbjj_preprocessor.prototype.selector definition includes the following:

if (tokens.skip_whitespace() != TOKEN_OPEN_PARENTHESIS)
    objj_exception_throw(new objj_exception(OBJJParseException, "*** Expected ')'"));

It should be

if (tokens.skip_whitespace() != TOKEN_OPEN_PARENTHESIS)
    objj_exception_throw(new objj_exception(OBJJParseException, "*** Expected '('"));

Ie, the parser is looking for an open paren and the error message indicates that the parser was expecting a close paren.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages