about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-07-27 16:24:41 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-07-27 16:24:41 +0200
commit19394a50e72fabb94ae21f7dec4571d135721bd7 (patch)
treebdf860a8da1c01b133494e71e66fa847b909d424 /src/comp/syntax/parse
parente3552da0e60eec7a018ddb2a2212d03d4f6fa338 (diff)
downloadrust-19394a50e72fabb94ae21f7dec4571d135721bd7.tar.gz
rust-19394a50e72fabb94ae21f7dec4571d135721bd7.zip
Make printing of comments inside bindings slightly less broken
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/lexer.rs12
1 files changed, 1 insertions, 11 deletions
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};