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

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

[Octave-bug-tracker] [bug #40894] unrecognised block comments in dos for


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #40894] unrecognised block comments in dos format saved files
Date: Sat, 14 Dec 2013 05:33:50 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #3, bug #40894 (project octave):

Thanks for noticing that it is only failing at the beginning of the file.  So
I think I see what I was missing before.  I'm guessing that the problem is
that the pattern


<INPUT_FILE_START>{ANY_INCLUDING_NL}


that is matched at the beginning of a script or function file means that the
next match can't be anchored by the beginning of line pattern ^.  Thankfully,
the only other patterns that use the line anchor are associated with exclusive
start states so they won't be matched at the beginning of a file.

However, now I'm not sure YY_AT_BOL does what I thought, so the previous patch
is probably not correct.

Maybe something like the second attached patch will work?


(file #29917)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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