On 10 March 2010 21:35, Carnë Draug <[email protected]> wrote:
>> We, however, also allow
>>
>> #{
>> This is a comment
>> #}
>>
>
> I didn't knew about the Octave version of block comments. I though
> only the same as Matlab worked. I'll change this in the metadata and
> change the syntax highlight as well.
>
When I was adding this to the syntax file I noticed that it's possible
to have block comments inside block comments. Is this supposed to be
this way or is it a bug? here's an example of what I mean
printf ("Not comment 1\n");
#{
printf ("Comment 1\n");
#{
printf ("Comment 2\n");
#}
printf ("I'd have guessed NOT a comment but it is a comment\n");
Shouldn't the fact that it's inside a block comment, ignore the start
of another block comment?
Carnë Draug
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev