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

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

[Octave-bug-tracker] [bug #39418] new parser gives syntax error


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #39418] new parser gives syntax error
Date: Sun, 07 Jul 2013 18:52:58 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Update of bug #39418 (project octave):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This change was intentional.  If you want to use continuations inside
character strings now, they have to be a backslash followed immediately by a
newline character, and you have to be using double-quoted strings.  Completely
eliminating continuations inside single-quoted strings was done to improve
Matlab compatibility.

OTOH, maybe this change is too abrupt, at least for the double-quoted strings
(for single quoted strings, we have the excuse of fixing a Matlab
compatibility bug).  So how about this change:

http://hg.savannah.gnu.org/hgweb/octave/rev/bc12849bb6cc

With it there will be a warning for these continuation markers.  You can
disable it with "warning off Octave:deprecated-syntax" or you can fix the code
to use backslash continuation markers.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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