[nem-bug] [Nemerle 0000792]: semicolons are required in indentation syntax

feedback at nemerle.org feedback at nemerle.org
Thu Jan 18 15:33:39 CET 2007


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=792> 
======================================================================
Reported By:                malekith
Assigned To:                VladD2
======================================================================
Project:                    Nemerle
Issue ID:                   792
Category:                   Code Completion Engine
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             11-23-2006 07:40 CET
Last Modified:              01-18-2007 15:33 CET
======================================================================
Summary:                    semicolons are required in indentation syntax
Description: 
when you try to write

#pragma indent
class Foo
  Bar () : void
     _ = 3
     _ = 4

it complains at the end of the line with 3, and if you add ; it works
fine.
======================================================================

----------------------------------------------------------------------
 VladD2 - 11-23-06 22:43 
----------------------------------------------------------------------
Sorry, for now we don't support indent mode. In the future we will add this
support.

----------------------------------------------------------------------
 VladD2 - 01-17-07 05:02 
----------------------------------------------------------------------
What lexer/parser need to switch in indentation mode?

----------------------------------------------------------------------
 malekith - 01-18-07 15:33 
----------------------------------------------------------------------
One way is setting Options.IndentationSyntax. The other way is relaying on
#pragma indent - then the lexer should switch the parser to indentation
mode (by throwing LexerBase.PragmaIndent)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-23-06 07:40 malekith       New Issue                                    
11-23-06 22:43 VladD2         Note Added: 0001519                          
11-23-06 22:43 VladD2         Status                   new => assigned     
11-23-06 22:43 VladD2         Assigned To               => VladD2          
01-17-07 05:02 VladD2         Note Added: 0001604                          
01-18-07 15:33 malekith       Note Added: 0001605                          
======================================================================




More information about the bugs mailing list