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

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

[Octave-bug-tracker] [bug #57121] lexer counts lines incorrectly for blo


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57121] lexer counts lines incorrectly for block comments that immediately follow line comments
Date: Mon, 28 Oct 2019 00:30:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #57121 (project octave):

                  Status:               Confirmed => In Progress            
             Assigned to:                    None => jwe                    
                 Summary: [GUI] debug pointer position off by one line =>
lexer counts lines incorrectly for block comments that immediately follow line
comments

    _______________________________________________________

Follow-up Comment #6:

Thanks for the report.  I think the problem is with the block comment
immediately following a line comment.  The line that starts the block comment
is being counted twice, once as a line comment and again as the start of a
block.

I'm attaching a simple one-line fix for now but I have an idea for a better
solution that will simplify this part of the lexer.  I'll try to look at it
tomorrow.


(file #47754)
    _______________________________________________________

Additional Item Attachment:

File name: lexer-diffs.txt                Size:0 KB
    <https://savannah.gnu.org/file/lexer-diffs.txt?file_id=47754>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57121>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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