[svn] r5869: nemerle/trunk/ncc/parsing/PreParserIndent.n
malekith
svnadmin at nemerle.org
Sun Oct 30 14:58:51 CET 2005
Log:
Prevent interpreting set directives when not in indentation mode.
Author: malekith
Date: Sun Oct 30 14:58:51 2005
New Revision: 5869
Modified:
nemerle/trunk/ncc/parsing/PreParserIndent.n
Modified: nemerle/trunk/ncc/parsing/PreParserIndent.n
==============================================================================
--- nemerle/trunk/ncc/parsing/PreParserIndent.n (original)
+++ nemerle/trunk/ncc/parsing/PreParserIndent.n Sun Oct 30 14:58:51 2005
@@ -118,8 +118,8 @@
tokens_pending.Push (lexer_tok)
// If this is the 'set' keyword in the first column of a new line:
- | Identifier ("set") when CurrentIndent == ""
- | Keyword ("set") when CurrentIndent == "" =>
+ | Identifier ("set") when indentation_syntax_active && CurrentIndent == ""
+ | Keyword ("set") when indentation_syntax_active && CurrentIndent == "" =>
def next = lexer.GetToken ();
match (next) {
| Token.Keyword ("namespace") =>
More information about the svn
mailing list