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

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

[Octave-bug-tracker] [bug #49454] strread commentstyle doesn't work as e


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #49454] strread commentstyle doesn't work as expected
Date: Fri, 28 Oct 2016 09:16:12 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Update of bug #49454 (project octave):

                  Status:               Need Info => In Progress            
             Assigned to:                    None => philipnienhuis         

    _______________________________________________________

Follow-up Comment #5:

(My work appointment (on my regular off-day) was just canceled, so I got some
time :-) )

The issue is twofold:
* as outlined below, strread.m needs the "endofline" value to assess comment
endings.
* strread.m as it stands always wants to eat the comment ending character
(default "endofline" value), but in "open" comment styles like "shell" that is
non-existent. Consequently in the example in the comments below it eats the
newline following the comment but that is actually a delimiter;

As "open" comment styles generally end with a newline (what else?) I think my
suggestion in my previous comment would work fine. I already have a fix but
need to add a few tests.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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