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

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

[Octave-bug-tracker] [bug #33297] text after block comment


From: Muhali
Subject: [Octave-bug-tracker] [bug #33297] text after block comment
Date: Wed, 11 May 2011 23:22:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

URL:
  <http://savannah.gnu.org/bugs/?33297>

                 Summary: text after block comment
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Wed 11 May 2011 04:22:33 PM PDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The function


function quick_countdown
   # Count down for main rocket engines
   disp(3);
   #{
   disp(2);
   disp(1);
   #}
   disp("Blast Off!");  # Rocket leaves pad
endfunction


behaves as expected (displaying only '3'). But if one replaces the first block
comment with '#{ some text' it ignores the block comment entirely, that is, it
treats '#{' and '#}' as normal comments.

If this is not a bug the documentation should state explicitly that block
comments should be the only thing on the line.

M.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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