bugGNU Octave - Bugs: bug #32598, Wishlist : More C-like multi-line...

 
 

bug #32598: Wishlist : More C-like multi-line block comments

Submitted by:  Rik <rik5>
Submitted on:  Fri 25 Feb 2011 07:43:08 PM UTC  
 
Category: InterpreterSeverity: 1 - Wish
Priority: 2Item Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 11 Mar 2011 02:28:18 PM UTC, comment #1:

Currently
works as does:
For reference, neither works in Matlab. Suggestion: make the opening '#{' comment marker easier to use as suggested (if it's easy), but make the '%' comments be consistent with Matlab: force the '%}' to be on a line by itself.

Iain Murray <imurray>
Fri 25 Feb 2011 07:43:08 PM UTC, original submission:

Octave already supports multi-line block comments using #{/#} pairs. The current parser expects the keywords to be alone on a single line. It would be nice if this behavior could be extended to be closer to C-stytle /* */ commenting which can appear anywhere in the line. If this is at all tricky to implement then it is not worth it and this issue can be closed.

Currently parser example:

Desired parser example:

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by imurray (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 May 2011 03:33:39 AM UTCrik5Dependencies-=>bugs #33297 is dependent
    Fri 25 Feb 2011 07:43:36 PM UTCrik5Priority5 - Normal=>2

    Back to the top


    Powered by Savane 3.1-cleanup