Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Objective-J does not allow multi-line string literals

#80

JavaScript allows string literals to span multiple lines using a backslash character at the end of every broken line. This does not seem to parse in Objective-J.

Example:


var myString = "this is\
a string that\
spans multiple lines";

Reported by Tomas FranzĂ©n · September 30th, 2008 @ 08:53 AM

State: resolved
Milestone: 0.6
Assigned to: Francisco Tolmasky Francisco Tolmasky

Activity

  1. Francisco Tolmasky
  2. admin (at 280north)
    admin (at 280north)
    • State changed from new to resolved

    (from [2e9e38ebafdb48f81ebf204fc8ed6d7dad3b94be]) Fix for multiline string literals not working in Objective-J.

    [#80 Objective-J does not allow multi-line string literals state:resolved]

    Reviewed by me. http://github.com/280north/cappu...

    October 22nd, 2008 @ 03:17 PM

  3. Francisco Tolmasky
    Francisco Tolmasky
    • Assigned user set to Francisco Tolmasky
    • Milestone set to 0.6

    October 22nd, 2008 @ 05:03 PM

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.