octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39775] Consistent treatment of octal and hexa


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #39775] Consistent treatment of octal and hexadecimal escape sequences in double-quoted strings
Date: Wed, 14 Aug 2013 13:20:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #6, bug #39775 (project octave):

The comment in the code and the explanation in the documentation does say that
the value produced by more than two hex digits is implementation defined, same
as for C and C++, so the current behavior seems fine to me.

But I don't care too much one way or the other.  An error would also be OK
with me.

Note that someday we may make characters 16 bits wide for compatibility with
Matlab.  So 2 is the limit now, but might not be in the future.

I also don't think that forcing 2 characters to be used is better than
allowing 1 or 2 (or 3 or 4).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39775>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]