Re: illegal line end in character literal in escaped unicode CARRIAGERETURN / NEW LINE

Discussion in 'Java' started by Joshua Cranmer, May 15, 2009.

  1. Christian wrote:
    > To be honest: I don't have the slightest idea what the compiler is
    > complaining about. The escape-sequence \u seems to be correct
    > according to most of the sources I came across and the two-digited
    > hexadecimal encoding cannot be wrong - so what's up here?


    The \u is not a character escape sequence, but a preprocessing
    token--these are processed even before lexical scanning.

    --
    Beware of bugs in the above code; I have only proved it correct, not
    tried it. -- Donald E. Knuth
     
    Joshua Cranmer, May 15, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chason Hayes

    Literal Escaped Octets

    Chason Hayes, Feb 6, 2006, in forum: Python
    Replies:
    11
    Views:
    688
    Chason Hayes
    Feb 8, 2006
  2. Jonathan Ballet

    xmlrpclib and carriagereturn (\r)

    Jonathan Ballet, Mar 17, 2006, in forum: Python
    Replies:
    5
    Views:
    372
    Jonathan Ballet
    Mar 18, 2006
  3. Andreas Leitgeb
    Replies:
    0
    Views:
    469
    Andreas Leitgeb
    May 15, 2009
  4. Mark Space
    Replies:
    0
    Views:
    503
    Mark Space
    May 15, 2009
  5. Lew
    Replies:
    0
    Views:
    969
Loading...

Share This Page