From 19394a50e72fabb94ae21f7dec4571d135721bd7 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Wed, 27 Jul 2011 16:24:41 +0200 Subject: Make printing of comments inside bindings slightly less broken --- src/comp/syntax/parse/lexer.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/comp/syntax/parse') diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs index 8163f8d29fc..b11e7aa5d85 100644 --- a/src/comp/syntax/parse/lexer.rs +++ b/src/comp/syntax/parse/lexer.rs @@ -546,19 +546,9 @@ fn next_token_inner(rdr: &reader) -> token::token { tag cmnt_style { isolated; // No code on either side of each line of the comment - - - trailing; // Code exists to the left of the comment - - - mixed; // Code before /* foo */ and after the comment - - - - blank_line; // Just a manual blank linke "\n\n", for layout - + blank_line; // Just a manual blank line "\n\n", for layout } type cmnt = {style: cmnt_style, lines: str[], pos: uint}; -- cgit 1.4.1-3-g733a5